mirror of
https://github.com/Orama-Interactive/Pixelorama.git
synced 2025-01-19 01:29:49 +00:00
Disable GIF export on unsupported platforms.
This commit is contained in:
parent
e8c6025c46
commit
e4a350d670
|
@ -67,6 +67,10 @@ func _ready() -> void:
|
||||||
add_button("Cancel", false, "cancel")
|
add_button("Cancel", false, "cancel")
|
||||||
$Popups/FileExistsAlert.add_button("Cancel Export", false, "cancel")
|
$Popups/FileExistsAlert.add_button("Cancel Export", false, "cancel")
|
||||||
|
|
||||||
|
# Disable GIF export for unsupported platforms
|
||||||
|
if not $GifExporter.is_platform_supported():
|
||||||
|
$VBoxContainer/AnimationOptions/AnimationType.selected = AnimationType.MultipleFiles
|
||||||
|
$VBoxContainer/AnimationOptions/AnimationType.disabled = true
|
||||||
|
|
||||||
func show_tab() -> void:
|
func show_tab() -> void:
|
||||||
$VBoxContainer/FrameOptions.hide()
|
$VBoxContainer/FrameOptions.hide()
|
||||||
|
|
Loading…
Reference in a new issue