[layers] Sped up the scrolling/adjusting of single layers. Speed is no longer relative to the number of visible layers. Pulkomandy, your idea of depth buffer was genius.

git-svn-id: svn://pulkomandy.tk/GrafX2/branches/layers@1047 416bcca6-2ee7-4201-b75f-2eb2f807beb1
This commit is contained in:
Yves Rizoud
2009-09-29 17:57:43 +00:00
parent 473679ce29
commit 61f0a4ec71
2 changed files with 23 additions and 1 deletions

View File

@@ -3975,7 +3975,8 @@ void Scroll_12_5(void)
{
// One layer at once
Scroll_picture(Main_backups->Pages->Next->Image[Main_current_layer], Main_backups->Pages->Image[Main_current_layer], x_offset, y_offset);
Redraw_layered_image();
//Redraw_layered_image();
Redraw_current_layer();
}
Display_all_screen();