summaryrefslogtreecommitdiff
path: root/Applications/QuickShow/main.cpp
diff options
context:
space:
mode:
authorAndreas Kling <awesomekling@gmail.com>2019-06-30 15:01:35 +0200
committerAndreas Kling <awesomekling@gmail.com>2019-06-30 15:01:35 +0200
commit038f99eeff8326112a23003e170966640b0feba2 (patch)
tree706de2249e383efdeefcbf6a54572cf7e75fac81 /Applications/QuickShow/main.cpp
parente7ce4514ec65c4a76fbd740383efc4e9e9f29630 (diff)
downloadserenity-038f99eeff8326112a23003e170966640b0feba2.zip
QuickShow: When zooming with the mouse wheel, keep image centered at cursor.
Diffstat (limited to 'Applications/QuickShow/main.cpp')
-rw-r--r--Applications/QuickShow/main.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/Applications/QuickShow/main.cpp b/Applications/QuickShow/main.cpp
index 97f992646a..adb34b8469 100644
--- a/Applications/QuickShow/main.cpp
+++ b/Applications/QuickShow/main.cpp
@@ -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());