diff options
author | Daniel Weipert <git@mail.dweipert.de> | 2024-04-22 16:34:25 +0200 |
---|---|---|
committer | Daniel Weipert <git@mail.dweipert.de> | 2024-04-22 16:34:25 +0200 |
commit | c8a316e4b8987dad963656a34665fa0e23dedcb1 (patch) | |
tree | 569af4b4f37d21079b6aedfad5164e94b50b6cb8 /Dialogs/VisualNovelTextbox/autoadvance_indicator.gd | |
parent | f27937e6e9b6a7146dd09fc711d2d293ecf5abbf (diff) |
update
Diffstat (limited to 'Dialogs/VisualNovelTextbox/autoadvance_indicator.gd')
-rw-r--r-- | Dialogs/VisualNovelTextbox/autoadvance_indicator.gd | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/Dialogs/VisualNovelTextbox/autoadvance_indicator.gd b/Dialogs/VisualNovelTextbox/autoadvance_indicator.gd new file mode 100644 index 0000000..fa8bbff --- /dev/null +++ b/Dialogs/VisualNovelTextbox/autoadvance_indicator.gd @@ -0,0 +1,13 @@ +extends Range + +var enabled : bool = true + +func _process(_delta : float) -> void: + if !enabled: + hide() + return + if DialogicUtil.autoload().Inputs.auto_advance.get_progress() < 0: + hide() + else: + show() + value = DialogicUtil.autoload().Inputs.auto_advance.get_progress() |