Add a workaround to a scroll area bug
This commit is contained in:
parent
91ff487edd
commit
7437ecdae6
5 changed files with 26 additions and 0 deletions
|
|
@ -6,6 +6,7 @@
|
|||
#include "../GUIStuff/ElementHelpers/ButtonHelpers.hpp"
|
||||
#include "../GUIStuff/ElementHelpers/LayoutHelpers.hpp"
|
||||
#include "../GUIStuff/ElementHelpers/TextLabelHelpers.hpp"
|
||||
#include "../GUIStuff/ElementHelpers/ScrollAreaHelpers.hpp"
|
||||
#include "FileSelectScreen.hpp"
|
||||
#include <Helpers/Logger.hpp>
|
||||
|
||||
|
|
@ -117,9 +118,11 @@ void PhoneDrawingProgramScreen::bottom_toolbar() {
|
|||
tool_settings_popup();
|
||||
break;
|
||||
case SettingsMenuPopup::FG_COLOR:
|
||||
SCROLL_AREA_BUG_WORKAROUND();
|
||||
color_settings_popup(&main.toolConfig.globalConf.foregroundColor);
|
||||
break;
|
||||
case SettingsMenuPopup::BG_COLOR:
|
||||
SCROLL_AREA_BUG_WORKAROUND();
|
||||
color_settings_popup(&main.toolConfig.globalConf.backgroundColor);
|
||||
break;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue