Skip to content

Commit 7bd2126

Browse files
committed
Change order of buttons
1 parent b56a67b commit 7bd2126

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

index.html

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -27,27 +27,27 @@
2727
</head>
2828
<body>
2929
<canvas id="canvas" class="block"></canvas>
30+
<div class="block">
31+
<input type="text" id="frameInput" title="Current frame string">
32+
</div>
3033
<div class="block">
3134
<button title="Play animation" onclick="playing = true;">&rtrif;</button>
3235
<button title="Pause animation" onclick="playing = false;">&FilledSmallSquare;</button>
3336
<button title="Previous frame" onclick="playing = false; data.currentFrame = (data.currentFrame - 1 + data.frames.split('|').length) % data.frames.split('|').length;">&laquo;</button>
3437
<button title="Next frame" onclick="playing = false; data.currentFrame = (data.currentFrame + 1) % data.frames.split('|').length;">&raquo;</button>
3538
</div>
3639
<div class="block">
37-
<input type="text" id="frameInput" title="Current frame string">
40+
<button onclick="flipHorizontal()" title="Flip horizontal">&harr;</button>
41+
<button onclick="flipVertical()" title="Flip vertical">&varr;</button>
42+
<button onclick="rotateCW()" title="Rotate 90° CW">&orarr;</button>
43+
<button onclick="rotateCCW()" title="Rotate 90° CCW">&olarr;</button>
3844
</div>
3945
<div class="block">
4046
<button onclick="removeFrame()" title="Delete frame">&xotime;</button>
4147
<button onclick="addFrame()" title="Duplicate frame">&xoplus;</button>
4248
<button onclick="moveFrameUp()" title="Move frame up">&uarr;</button>
4349
<button onclick="moveFrameDown()" title="Move frame down">&darr;</button>
4450
</div>
45-
<div class="block">
46-
<button onclick="flipHorizontal()" title="Flip horizontal">&harr;</button>
47-
<button onclick="flipVertical()" title="Flip vertical">&varr;</button>
48-
<button onclick="rotateCW()" title="Rotate 90° CW">&orarr;</button>
49-
<button onclick="rotateCCW()" title="Rotate 90° CCW">&olarr;</button>
50-
</div>
5151
<canvas id="spritesheet" class="block"></canvas>
5252
<div class="block">
5353
<input type="number" class="small" inputmode="numeric" pattern="[0-9]*" name="frameWidth" title="Frame width">

0 commit comments

Comments
 (0)