mirror of
https://github.com/aseprite/aseprite.git
synced 2025-03-01 10:13:22 +00:00
Fixed minor problem with color-bar and JM_REQSIZE message.
This commit is contained in:
parent
67c678a690
commit
145a78ac09
@ -244,7 +244,7 @@ bool ColorBar::msg_proc(JMessage msg)
|
||||
if (get_config_bool("ColorBar", "CanGrow", false))
|
||||
msg->reqsize.w = 20*jguiscale() * m_columns;
|
||||
else
|
||||
msg->reqsize.w = 20*jguiscale() * MAX(1, m_columns);
|
||||
msg->reqsize.w = 20*jguiscale() * MIN(2, m_columns);
|
||||
msg->reqsize.h = 20*jguiscale();
|
||||
return true;
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user