Skip to content

Commit c6819e9

Browse files
committed
Merge branch 'patch-1'
2 parents 7166222 + 167cded commit c6819e9

File tree

2 files changed

+2
-3
lines changed

2 files changed

+2
-3
lines changed

Tiles to Layers.lua

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -50,8 +50,7 @@ function TileSplitter(tile_w,tile_h,spr)
5050

5151
-- Copy and paste the selection
5252
app.command.CopyMerged()
53-
app.command.NewLayer()
54-
app.command.Paste()
53+
app.command.NewLayer{ fromClipboard=true }
5554

5655
-- Rename the layer
5756
app.activeLayer.name = "Tile "..count

Touch Toolbar.lua

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,5 +14,5 @@ dlg
1414
:button{text=">",onclick=function() app.command.GotoNextFrame() end}
1515
:button{text=">|",onclick=function() app.command.GotoLastFrame() end}
1616
:button{text="+",onclick=function() app.command.NewFrame() end}
17-
:button{text="-",onclick=function() app.command.DeleteFrame() end}
17+
:button{text="-",onclick=function() app.command.RemoveFrame() end}
1818
:show{wait=false}

0 commit comments

Comments
 (0)