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);
|
cb = PIXB(tempcolor);
|
||||||
if (cr || cg || cb)
|
if (cr || cg || cb)
|
||||||
{
|
{
|
||||||
|
if (cr) cr++;
|
||||||
|
if (cg) cg++;
|
||||||
|
if (cb) cb++;
|
||||||
currR = cr;
|
currR = cr;
|
||||||
currG = cg;
|
currG = cg;
|
||||||
currB = cb;
|
currB = cb;
|
||||||
|
@ -1490,9 +1490,8 @@ int main(int argc, char *argv[])
|
|||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
rgbSave = decorations_ui(vid_buf,&bsx,&bsy,rgbSave);//decoration_mode = !decoration_mode;
|
|
||||||
decorations_enable = 1;
|
decorations_enable = 1;
|
||||||
sys_pause=1;
|
rgbSave = decorations_ui(vid_buf,&bsx,&bsy,rgbSave);//decoration_mode = !decoration_mode;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
if (sdl_key=='g')
|
if (sdl_key=='g')
|
||||||
|
Loading…
Reference in New Issue
Block a user