Commit graph

16 commits

Author SHA1 Message Date
Loren Burkholder
52346d972e
Make the image overlay behave better
Previously, the image would not try to stay centered; furthermore,
on mobile devices, it was impossible to zoom images without dropping
them at a slightly off rotation. This bothered me enough that I've
clamped images to the center of the screen (as long as they aren't
zoomed larger than the screen) and snapped rotations to 45-degree
increments (with a nice animation to boot).
2024-04-18 20:19:21 -04:00
Nicolas Werner
8f700e1210
Remove debug label 2024-03-06 20:54:28 +01:00
Nicolas Werner
05e36dd007
Make image in overlay fit into viewer again 2024-03-06 20:52:58 +01:00
Nicolas Werner
c9bcf3a7c0
Prevent big images from becoming square in overlay 2024-03-05 21:28:48 +01:00
Nicolas Werner
16960e2900
Fix scrolling in image dialog 2023-06-09 02:40:50 +02:00
Nicolas Werner
6a03615413
Copy image to clipboard
Fixes #599
2023-04-23 20:55:28 +02:00
Nicolas Werner
96f791daf1
Get rid of year in license headers
See also:
https://daniel.haxx.se/blog/2023/01/08/copyright-without-years/
https://hynek.me/til/copyright-years/
2023-02-21 23:48:49 +01:00
Thulinma
7ffae002a5 Make ImageOverlay set appropriate windowRole again 2023-02-10 18:01:47 +01:00
ShootingStarDragons
abe4f8eb3c chore: when save file, hide ImageOverlay window
Log: on wm like sway, it will cover the whole screen, and I cannot get
the file save dialog, then the program will stay there, I must kill it,
so I think hide it is better, because after, it will be closed
2023-01-20 22:10:22 +08:00
Nicolas Werner
3a6a905429
A whole new year full of excitement and possibilities! 2023-01-02 04:25:33 +01:00
Nicolas Werner
6afe3fa39d
Close image viewer when clicking on the background
fixes #1088
2022-06-15 20:55:51 +02:00
Nicolas Werner
a6b2be112b
More image dialog fixes 2022-05-10 03:20:09 +02:00
Nicolas Werner
85f0ffb6bf Remove boundary handling in image overlay
They hurt more than they are helping
2022-04-10 04:10:32 +02:00
Joseph Donofry
53c73c2195
Fix some minor UI issues with ImageOverlay and RawMessageDialog 2022-01-05 23:33:08 -05:00
Nicolas Werner
6d4ff70b48
Add minimum scale in image viewer 2022-01-03 04:00:21 +01:00
Nicolas Werner
66520eae19
Port image overlay to qml
Allows you to zoom and pan now.

relates to #647
2022-01-02 21:46:29 +01:00