mirror of
https://github.com/tuxbox-fork-migrations/recycled-ni-neutrino.git
synced 2025-08-30 08:51:04 +02:00
CColorChooser: fix possible artefacts on screen after closed window
Window was painted with shadow but hide() method didn't know about this.
Origin commit data
------------------
Branch: ni/coolstream
Commit: 38f80a5ca6
Author: Thilo Graf <dbt@novatux.de>
Date: 2017-09-15 (Fri, 15 Sep 2017)
------------------
This commit was generated by Migit
This commit is contained in:
@@ -271,7 +271,7 @@ int CColorChooser::exec(CMenuTarget* parent, const std::string &)
|
||||
|
||||
void CColorChooser::hide()
|
||||
{
|
||||
frameBuffer->paintBackgroundBoxRel(x, y, width, height);
|
||||
frameBuffer->paintBackgroundBoxRel(x, y, width + OFFSET_SHADOW, height + OFFSET_SHADOW);
|
||||
}
|
||||
|
||||
void CColorChooser::paint()
|
||||
|
Reference in New Issue
Block a user