mirror of
https://github.com/aseprite/aseprite.git
synced 2025-01-30 06:32:42 +00:00
Color buttons for checked-bg have imgtype=IMAGE_RGB.
This commit is contained in:
parent
8e62794da0
commit
0260452e3e
@ -27,6 +27,7 @@
|
||||
#include "core/cfg.h"
|
||||
#include "modules/editors.h"
|
||||
#include "modules/gui.h"
|
||||
#include "raster/image.h"
|
||||
#include "util/render.h"
|
||||
#include "widgets/colbut.h"
|
||||
|
||||
@ -101,8 +102,8 @@ void OptionsCommand::execute(Context* context)
|
||||
jwidget_select(checked_bg_zoom);
|
||||
|
||||
// Checked background colors
|
||||
checked_bg_color1 = colorbutton_new(RenderEngine::getCheckedBgColor1(), app_get_current_image_type());
|
||||
checked_bg_color2 = colorbutton_new(RenderEngine::getCheckedBgColor2(), app_get_current_image_type());
|
||||
checked_bg_color1 = colorbutton_new(RenderEngine::getCheckedBgColor1(), IMAGE_RGB);
|
||||
checked_bg_color2 = colorbutton_new(RenderEngine::getCheckedBgColor2(), IMAGE_RGB);
|
||||
|
||||
jwidget_add_child(checked_bg_color1_box, checked_bg_color1);
|
||||
jwidget_add_child(checked_bg_color2_box, checked_bg_color2);
|
||||
|
Loading…
x
Reference in New Issue
Block a user