mirror of
https://github.com/tonytins/CozyPixelStudio.git
synced 2025-06-25 22:34:43 -04:00
New remove current palette feature (#239)
* New remove current palette feature This commit adds new feature to Pixelorama that will allow user to remove the current selected palette. * Fixed grammar and added focus_mode = 0 on the remove palette button Co-authored-by: OverloadedOrama <35376950+OverloadedOrama@users.noreply.github.com>
This commit is contained in:
parent
c879633f4b
commit
eb47d24df3
12 changed files with 205 additions and 20 deletions
5
src/UI/Dialogs/CantRemoveMorePalettesDialog.tscn
Normal file
5
src/UI/Dialogs/CantRemoveMorePalettesDialog.tscn
Normal file
|
@ -0,0 +1,5 @@
|
|||
[gd_scene format=2]
|
||||
|
||||
[node name="CantRemoveMorePalettesDialog" type="AcceptDialog"]
|
||||
window_title = "Alarm!"
|
||||
dialog_text = "You can't remove more palettes!"
|
5
src/UI/Dialogs/PaletteDoesntExistDialog.tscn
Normal file
5
src/UI/Dialogs/PaletteDoesntExistDialog.tscn
Normal file
|
@ -0,0 +1,5 @@
|
|||
[gd_scene format=2]
|
||||
|
||||
[node name="PaletteDoesntExistDialog" type="AcceptDialog"]
|
||||
window_title = "Alarm!"
|
||||
dialog_text = "Cannot remove the palette, because it doesn't exist!"
|
7
src/UI/Dialogs/PaletteRemoveErrorDialog.tscn
Normal file
7
src/UI/Dialogs/PaletteRemoveErrorDialog.tscn
Normal file
|
@ -0,0 +1,7 @@
|
|||
[gd_scene format=2]
|
||||
|
||||
[node name="PaletteRemoveErrorDialog" type="AcceptDialog"]
|
||||
margin_right = 90.0
|
||||
margin_bottom = 58.0
|
||||
window_title = "Alarm!"
|
||||
dialog_text = "An error occured while removing the palette! Error code: %s"
|
Loading…
Add table
Add a link
Reference in a new issue