mirror of
https://github.com/RGBCube/serenity
synced 2025-05-31 10:48:11 +00:00
QuickShow: When zooming with the mouse wheel, keep image centered at cursor.
This commit is contained in:
parent
e7ce4514ec
commit
038f99eeff
2 changed files with 8 additions and 1 deletions
|
@ -56,7 +56,7 @@ int main(int argc, char** argv)
|
|||
window->set_title(String::format("QuickShow: %s %s %d%%", path, bitmap->size().to_string().characters(), scale));
|
||||
};
|
||||
|
||||
window->set_double_buffering_enabled(false);
|
||||
window->set_double_buffering_enabled(true);
|
||||
update_window_title(100);
|
||||
window->set_rect(200, 200, bitmap->width(), bitmap->height());
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue