forked from SilverStudioGames/WTS
Expression Editor
* Added support for temporary attribues * Redesigned persistent expressions toggles and simplified them * Improved defined expressions dictionary handling and added imap sorting * Simplified parts of code * Fixed prompt screen incompatibility with Text displayables
This commit is contained in:
parent
2d56efde49
commit
395c3d4397
@ -28,9 +28,14 @@ screen confirm(message, yes_action=Return(True), no_action=Return(False)):
|
|||||||
vbox:
|
vbox:
|
||||||
spacing 25
|
spacing 25
|
||||||
|
|
||||||
text "[message!t]":
|
if isinstance(message, str):
|
||||||
xalign 0.5
|
text "[message!t]":
|
||||||
text_align 0.5
|
xalign 0.5
|
||||||
|
text_align 0.5
|
||||||
|
else:
|
||||||
|
text message:
|
||||||
|
xalign 0.5
|
||||||
|
text_align 0.5
|
||||||
|
|
||||||
hbox:
|
hbox:
|
||||||
xalign 0.5
|
xalign 0.5
|
||||||
|
File diff suppressed because it is too large
Load Diff
Loading…
Reference in New Issue
Block a user