Henrik Giesel
|
0ffa5030e5
|
During resizing, make the smaller dimension decide the new dimensions
|
2021-09-06 21:15:37 +10:00 |
|
Henrik Giesel
|
a7fa217306
|
Reset height, so it defaults to "auto"
* This allows more flexible dynamic resizing for the image in the (p)reviewer
|
2021-09-06 21:15:37 +10:00 |
|
Henrik Giesel
|
3fe1180f39
|
Add margin to other side of dimensions
|
2021-09-06 21:15:37 +10:00 |
|
Henrik Giesel
|
63fed87b48
|
Do not allow for resizing when in constrained mode
|
2021-09-06 21:15:37 +10:00 |
|
Henrik Giesel
|
c4f47be673
|
Don't show same dimensions twice if there are no custom dimensions
|
2021-09-06 21:15:37 +10:00 |
|
Henrik Giesel
|
db558c869d
|
Change position of float buttons and dimension
* So we can show dimensions at lower image sizes
|
2021-09-06 21:15:37 +10:00 |
|
Henrik Giesel
|
fce63ed718
|
Deal with case where no style.{width,height} is set for size dimensions
|
2021-09-06 21:15:37 +10:00 |
|
Henrik Giesel
|
460b6f33c9
|
Dispaly "actualHeight / actualWidth" even in constrained mode
|
2021-09-06 21:15:37 +10:00 |
|
Henrik Giesel
|
e8ec6b61a7
|
Use ResizeObserver to resize overlay if necessary
|
2021-09-06 21:15:36 +10:00 |
|
Henrik Giesel
|
796037649a
|
Better RTL support
|
2021-09-06 21:15:36 +10:00 |
|
Henrik Giesel
|
9342d19504
|
Move selector / active logic up to ImageHandle
|
2021-09-06 21:15:36 +10:00 |
|
Henrik Giesel
|
7696a181f3
|
Implement Maximum image size mechanism
|
2021-09-06 21:15:36 +10:00 |
|
Henrik Giesel
|
5257a4db26
|
Allow SW resize
|
2021-09-06 21:15:36 +10:00 |
|
Henrik Giesel
|
5e91108a79
|
Bind to style properties instead of events
|
2021-09-06 21:15:36 +10:00 |
|
Henrik Giesel
|
b919b9cb7f
|
Add functionality to set float of image
|
2021-09-06 21:15:36 +10:00 |
|
Henrik Giesel
|
2a81273115
|
Image resizes preserves ratio
|
2021-09-06 21:15:36 +10:00 |
|
Henrik Giesel
|
9b97320438
|
Add image-handle-dimensions to show dimensions directly on image
|
2021-09-06 21:15:36 +10:00 |
|
Henrik Giesel
|
53d1435aa7
|
First implementation of ImageHandle
|
2021-09-06 21:15:36 +10:00 |
|