mirror of
https://github.com/piskelapp/piskel.git
synced 2023-08-10 21:12:52 +03:00
bd99027852
- Added MinimapController that displays a frame on the animated preview when zoomed in - Added bounds for the offset to make sure it doesn't go crazy - Added new utility Math.js with a minmax function - TODO : the minimap controller has a lot of dependencies, see if could be cleaned up - TODO : DrawingController knows the size of the picture it has to render only indirectly, which makes it hard in some cases (such as boundary checking performed during setOffset)
8 lines
163 B
CSS
8 lines
163 B
CSS
.minimap-crop-frame {
|
|
position:absolute;
|
|
border:1px solid red;
|
|
z-index:9999;
|
|
box-sizing : border-box;
|
|
-moz-box-sizing : border-box;
|
|
cursor : pointer;
|
|
} |