diff --git a/Main.tscn b/Main.tscn index 16fc97d..3438a25 100644 --- a/Main.tscn +++ b/Main.tscn @@ -919,7 +919,7 @@ offset_left = -64.0 offset_top = -23.0 grow_horizontal = 0 grow_vertical = 0 -text = "v1.6h1" +text = "v1.6.1" horizontal_alignment = 2 [node name="SettingsButton" type="Button" parent="."] diff --git a/SmoothEdges.png b/SmoothEdges.png new file mode 100644 index 0000000..ca4cd36 Binary files /dev/null and b/SmoothEdges.png differ diff --git a/SmoothEdges.png.import b/SmoothEdges.png.import new file mode 100644 index 0000000..bfdd2e0 --- /dev/null +++ b/SmoothEdges.png.import @@ -0,0 +1,34 @@ +[remap] + +importer="texture" +type="CompressedTexture2D" +uid="uid://bp4ipephewcrn" +path="res://.godot/imported/SmoothEdges.png-b4a268ae7a5bd93ca3550a3259bfca31.ctex" +metadata={ +"vram_texture": false +} + +[deps] + +source_file="res://SmoothEdges.png" +dest_files=["res://.godot/imported/SmoothEdges.png-b4a268ae7a5bd93ca3550a3259bfca31.ctex"] + +[params] + +compress/mode=0 +compress/high_quality=false +compress/lossy_quality=0.7 +compress/hdr_compression=1 +compress/normal_map=0 +compress/channel_pack=0 +mipmaps/generate=false +mipmaps/limit=-1 +roughness/mode=0 +roughness/src_normal="" +process/fix_alpha_border=true +process/premult_alpha=false +process/normal_map_invert_y=false +process/hdr_as_srgb=false +process/hdr_clamp_exposure=false +process/size_limit=0 +detect_3d/compress_to=1 diff --git a/export_presets.cfg b/export_presets.cfg index 113e1d0..fa2eaf6 100644 --- a/export_presets.cfg +++ b/export_presets.cfg @@ -9,7 +9,7 @@ custom_features="" export_filter="all_resources" include_filter="" exclude_filter="" -export_path="../SimplaudioExports/Windows/Simplaudio.exe" +export_path="../../SimplaudioExports/Windows/Simplaudio.exe" patches=PackedStringArray() encryption_include_filters="" encryption_exclude_filters="" @@ -79,7 +79,7 @@ custom_features="" export_filter="all_resources" include_filter="" exclude_filter="" -export_path="../SimplaudioExports/Linux/Simplaudio.x86_64" +export_path="../../SimplaudioExports/Linux/Simplaudio.x86_64" patches=PackedStringArray() encryption_include_filters="" encryption_exclude_filters="" diff --git a/main.gd b/main.gd index fe2cbc7..85f082c 100644 --- a/main.gd +++ b/main.gd @@ -33,6 +33,7 @@ extends Control @onready var search_bar: LineEdit = $SearchBar @onready var playing_now: Window = $PlayingNow @export var overridden_locale:String +@onready var playing_now_window: Control = $PlayingNow/PlayingNowWindow var DiscordUsername:String @@ -168,6 +169,7 @@ func _ready() -> void: play_all.button_pressed = true if data.has("UsingPlayingNow"): UsingPlayingNow = data["UsingPlayingNow"] + settings_menu_child.now_playing_window_button.button_pressed = true if data.has("OverriddenLocale"): TranslationServer.set_locale(data["OverriddenLocale"]) overridden_locale = data["OverriddenLocale"] diff --git a/playing_now_window.tscn b/playing_now_window.tscn index d739079..e998199 100644 --- a/playing_now_window.tscn +++ b/playing_now_window.tscn @@ -1,21 +1,9 @@ -[gd_scene load_steps=11 format=3 uid="uid://n7cnapaftfse"] +[gd_scene load_steps=10 format=3 uid="uid://n7cnapaftfse"] [ext_resource type="Script" uid="uid://q2gdlr10ncnb" path="res://playing_now_window.gd" id="1_f0rac"] +[ext_resource type="Texture2D" uid="uid://bp4ipephewcrn" path="res://SmoothEdges.png" id="2_haeb5"] [ext_resource type="Texture2D" uid="uid://cq8jj63iyu2cs" path="res://d7hftxdivxxvm.cloudfront.webp" id="3_haeb5"] -[sub_resource type="Gradient" id="Gradient_yr2ao"] -offsets = PackedFloat32Array(0.992806, 1) -colors = PackedColorArray(1, 1, 1, 1, 1, 1, 1, 0) - -[sub_resource type="GradientTexture2D" id="GradientTexture2D_haeb5"] -gradient = SubResource("Gradient_yr2ao") -width = 512 -height = 512 -fill = 2 -fill_from = Vector2(0.5, 0.5) -fill_to = Vector2(0.5, 0) -metadata/_snap_enabled = true - [sub_resource type="Gradient" id="Gradient_nf0dg"] offsets = PackedFloat32Array(0.410072, 1) colors = PackedColorArray(1, 1, 1, 0, 1, 1, 1, 1) @@ -74,7 +62,7 @@ anchor_right = 1.0 anchor_bottom = 1.0 grow_horizontal = 2 grow_vertical = 2 -texture = SubResource("GradientTexture2D_haeb5") +texture = ExtResource("2_haeb5") expand_mode = 3 stretch_mode = 5