fix alt select being off by one every time, turn on deco before entering the deco editor (not after)
This commit is contained in:
parent
40046aeab0
commit
e95bcb6fcc
@ -5725,6 +5725,9 @@ unsigned int decorations_ui(pixel *vid_buf,int *bsx,int *bsy, unsigned int saved
|
||||
cb = PIXB(tempcolor);
|
||||
if (cr || cg || cb)
|
||||
{
|
||||
if (cr) cr++;
|
||||
if (cg) cg++;
|
||||
if (cb) cb++;
|
||||
currR = cr;
|
||||
currG = cg;
|
||||
currB = cb;
|
||||
|
@ -1490,9 +1490,8 @@ int main(int argc, char *argv[])
|
||||
}
|
||||
else
|
||||
{
|
||||
rgbSave = decorations_ui(vid_buf,&bsx,&bsy,rgbSave);//decoration_mode = !decoration_mode;
|
||||
decorations_enable = 1;
|
||||
sys_pause=1;
|
||||
rgbSave = decorations_ui(vid_buf,&bsx,&bsy,rgbSave);//decoration_mode = !decoration_mode;
|
||||
}
|
||||
}
|
||||
if (sdl_key=='g')
|
||||
|
Loading…
Reference in New Issue
Block a user