enable resource imageviewer useradjustable option

2 weeks ago

author
Olaf Wintermann <olaf.wintermann@gmail.com>
date
Sat, 05 Apr 2025 17:55:13 +0200 (2 weeks ago)
changeset 106
3a64316b3672
parent 105
0c19c576fc36
child 107
b34bd1557c6c

enable resource imageviewer useradjustable option

application/window.c file | annotate | diff | comparison | revisions
--- a/application/window.c	Sat Apr 05 17:50:06 2025 +0200
+++ b/application/window.c	Sat Apr 05 17:55:13 2025 +0200
@@ -217,7 +217,10 @@
                     }
                 } else if(type == DAV_RESOURCE_VIEW_IMAGE) {
                     ui_tab(win, "Preview") {
-                        ui_imageviewer(win, .varname = "image");
+                        ui_imageviewer(win,
+                                .varname = "image",
+                                .scrollarea = TRUE,
+                                .useradjustable = TRUE);
                     }
                 }
                 

mercurial