mirror of
https://github.com/aseprite/aseprite.git
synced 2024-12-27 21:19:18 +00:00
15 lines
323 B
Lua
15 lines
323 B
Lua
-- ase -- allegro-sprite-editor: the ultimate sprites factory
|
|
-- Copyright (C) 2001-2005 by David A. Capello
|
|
|
|
function GUI_EditClear()
|
|
-- get current sprite
|
|
local sprite = current_sprite
|
|
if not sprite then return end
|
|
|
|
-- clear the mask
|
|
ClearMask()
|
|
|
|
-- refresh the sprite
|
|
GUI_Refresh(sprite)
|
|
end
|