hires tab icon

This commit is contained in:
Nordup 2025-03-20 04:08:00 +04:00
parent f9883859b5
commit d3be9f51cf
4 changed files with 67 additions and 2 deletions

View file

@ -0,0 +1,13 @@
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()