mirror of
https://github.com/aseprite/aseprite.git
synced 2025-02-06 12:39:57 +00:00
Fixed a bug in JM_DRAW handler of colorviewer_msg_proc() function. It was introduced in a recent commit.
This commit is contained in:
parent
571a735f3a
commit
6383d36f25
@ -130,7 +130,7 @@ static bool colorviewer_msg_proc(JWidget widget, JMessage msg)
|
||||
|
||||
/* draw color background */
|
||||
jrect_shrink(rect, 1);
|
||||
draw_color(ji_screen, Rect(rect->x1, rect->y1, jrect_w(rect->x2), jrect_h(rect->y2)),
|
||||
draw_color(ji_screen, Rect(rect->x1, rect->y1, jrect_w(rect), jrect_h(rect)),
|
||||
colorviewer->imgtype,
|
||||
colorviewer->color);
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user