]> git.rm.cloudns.org Git - xonotic/xonotic-data.pk3dir.git/commitdiff
zoomSnapToTheBox disabled by default in the screenshot viewer
authorterencehill <piuntn@gmail.com>
Mon, 6 Feb 2012 22:12:00 +0000 (23:12 +0100)
committerterencehill <piuntn@gmail.com>
Mon, 6 Feb 2012 22:12:00 +0000 (23:12 +0100)
qcsrc/menu/xonotic/screenshotimage.c

index f365d430eed3f2b6c45d5b6e270a1337c3cf27c5..469f177fc6f7f9e01950e5b3e254473e43db7907 100644 (file)
@@ -30,6 +30,7 @@ void XonoticScreenshotImage_configureXonoticScreenshotImage(entity me)
 {
        me.configureXonoticImage(me, string_null, -2);
        me.zoomLimitedByTheBox = FALSE; // enable this to forbid enlarging the image more than the containing box (if making use of draw_SetClip is a too bad thing)
+       me.zoomSnapToTheBox = FALSE; // disabled: it's cooler
 }
 
 void XonoticScreenshotImage_load(entity me, string theImage)