fix alt select being off by one every time, turn on deco before entering the deco editor (not after)

This commit is contained in:
Jacob1 2012-05-24 11:13:10 -04:00
parent 40046aeab0
commit e95bcb6fcc
2 changed files with 4 additions and 2 deletions

View File

@ -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;

View File

@ -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')