mirror of
https://github.com/thegatesbrowser/thegates.git
synced 2025-08-24 02:17:27 -04:00
13 lines
226 B
GDScript
13 lines
226 B
GDScript
extends Panel
|
|
|
|
@export var icon: TextureRect
|
|
@export var icon_hires: TextureRect
|
|
|
|
|
|
func _ready() -> void:
|
|
if DisplayServer.screen_get_scale() == 2.0:
|
|
icon.hide()
|
|
icon_hires.show()
|
|
else:
|
|
icon.show()
|
|
icon_hires.hide()
|