diff --git a/Services/Admin/Pages/SpriteSheets/Edit.cshtml b/Services/Admin/Pages/SpriteSheets/Edit.cshtml index 51695c8..f55338b 100644 --- a/Services/Admin/Pages/SpriteSheets/Edit.cshtml +++ b/Services/Admin/Pages/SpriteSheets/Edit.cshtml @@ -76,13 +76,69 @@ - @if (!string.IsNullOrEmpty(Model.Sheet.CdnPath)) + @* @if (!string.IsNullOrEmpty(Model.Sheet.CdnPath)) {

Preview (Sheet: @Model.Sheet.SheetWidth x @Model.Sheet.SheetHeight, Frame: @Model.Sheet.FrameWidth x @Model.Sheet.FrameHeight = @Model.Sheet.TotalFrames frames)

Sprite sheet preview
+ } *@ + @if (!string.IsNullOrEmpty(Model.Sheet.CdnPath)) + { +
+ +
+
+

+ Preview (Sheet: @Model.Sheet.SheetWidth x @Model.Sheet.SheetHeight, + Frame: @Model.Sheet.FrameWidth x @Model.Sheet.FrameHeight = @Model.Sheet.TotalFrames frames) +

+ +
+ + +
+
+ + + + + +
+ +
+ +
+ Click a cell to copy its frame index. + +
+
+ + +
+

Selected Frame

+
+
Frame Index: -
+
Row/Col: -
+
Pixel: -
+
+ +
+

Quick Insert

+

+ This just copies; you can paste into any “Frames” sequence. + (If you want auto-insert into the last-focused frame input, we can do that too.) +

+ +
+
+
} +
@@ -289,4 +345,175 @@ } }); + + }