Add modified Fragmented project files
This commit is contained in:
parent
f99f1fbc9b
commit
77ce93fb15
57 changed files with 1696 additions and 0 deletions
10
src/ImageViewportDisplay.gd
Normal file
10
src/ImageViewportDisplay.gd
Normal file
|
@ -0,0 +1,10 @@
|
|||
extends Sprite2D
|
||||
|
||||
func _ready() -> void:
|
||||
hide()
|
||||
|
||||
func update_zoom_texture_filter(zoom: Vector2):
|
||||
if zoom.x >= 1.5:
|
||||
texture_filter = TEXTURE_FILTER_NEAREST_WITH_MIPMAPS
|
||||
else:
|
||||
texture_filter = TEXTURE_FILTER_LINEAR
|
Loading…
Add table
Add a link
Reference in a new issue