mirror of
https://github.com/piskelapp/piskel.git
synced 2023-08-10 21:12:52 +03:00
dc729ee80b
- new controller CursorCoordinatesController - added div in right column (bottom:0) - 3 new events : CURSOR_MOVED, DRAG_START, DRAG_END - modified tools to fire events when necessary The cursor coordinates are displayed when the mouse is hovering the drawing area. When the mouse leaves the area, the indication disappears. If the user is using a tool that involves dragging (selection, rectangle, circle), the indicator displays the original coordinates (captured during drag start) and the current coordinates.
23 lines
910 B
HTML
23 lines
910 B
HTML
<div class="settings-section">
|
|
<div class="settings-title">
|
|
Export Spritesheet as PNG
|
|
</div>
|
|
<div class="settings-item">
|
|
<span>Preview : </span>
|
|
<div class="png-export-preview"></div>
|
|
<div class="png-export-radio-group"></div>
|
|
<input type="button" class="button button-primary png-download-button" value="Download PNG" />
|
|
<input type="button" class="button png-upload-button" value="Upload PNG" />
|
|
<!-- <input type="button" class="button png-download-button" value="Download" /> -->
|
|
<div class="png-upload-status"></div>
|
|
</div>
|
|
<div class="settings-title">
|
|
Export Spritesheet as ZIP
|
|
</div>
|
|
<div class="settings-item">
|
|
<span class="settings-description">A ZIP archive will be created with one PNG file per frame.</span>
|
|
<div>
|
|
<button type="button" class="button button-primary zip-generate-button"/>Download ZIP</button>
|
|
</div>
|
|
</div>
|
|
</div> |