Чистка.

This commit is contained in:
sasha80
2026-01-26 14:09:48 +03:00
parent 9eb9873c64
commit 36999bf3c1
3 changed files with 0 additions and 30 deletions

View File

@@ -1,19 +0,0 @@
extends LineEdit
func _enter_tree() -> void:
ProjectSettings.connect('settings_changed', apply_colors)
func apply_colors():
var is_light: bool = ProjectSettings.get_setting('application/config/Цвет темы программы', false)
var style = get_theme_stylebox('read_only').duplicate()
if is_light:
style.bg_color = Color.GRAY
add_theme_color_override('font_color_readonly', Color.BLACK)
add_theme_color_override('font_color_placeholder', Color(0, 0, 0, 0.5))
else:
style.bg_color = Color(0.12, 0.12, 0.12)
add_theme_color_override('font_color_readonly', Color('#D8731A')) # тёмно-оранжевый
add_theme_color_override('font_color_placeholder', Color(1, 1, 1, 0.5))
add_theme_stylebox_override('read_only', style)

View File

@@ -1 +0,0 @@
uid://bky7xlpaj21sj

View File

@@ -1,10 +0,0 @@
[gd_scene load_steps=2 format=3 uid="uid://bvbvtgwps54yr"]
[ext_resource type="Script" uid="uid://bky7xlpaj21sj" path="res://table/editl.gd" id="1_xd53c"]
[node name="Editl" type="LineEdit"]
offset_right = 59.875
offset_bottom = 33.0
caret_blink = true
caret_blink_interval = 0.5
script = ExtResource("1_xd53c")