Доработка. Исправлен вылет при нажатии удалить.

This commit is contained in:
MaD_CaT
2023-08-18 11:11:32 +03:00
parent 1c37f64ed7
commit ceaec55b69
4 changed files with 43 additions and 29 deletions

View File

@@ -1,12 +1,12 @@
[gd_scene load_steps=5 format=3 uid="uid://87gtvqd7bbje"]
[ext_resource type="Script" path="res://main.gd" id="1_8p35p"]
[ext_resource type="Script" path="res://table/table.gd" id="2_xq1tk"]
[ext_resource type="Texture2D" uid="uid://cex4jiu1pcj3x" path="res://edit-add-0.png" id="3_f3g8t"]
[ext_resource type="Texture2D" uid="uid://cx746np1wexnd" path="res://edit-add-1.png" id="4_4ja4j"]
[ext_resource type="Script" path="res://main.gd" id="1_v038r"]
[ext_resource type="Script" path="res://table/table.gd" id="2_mfyp6"]
[ext_resource type="Texture2D" uid="uid://cex4jiu1pcj3x" path="res://edit-add-0.png" id="3_6tmn6"]
[ext_resource type="Texture2D" uid="uid://cx746np1wexnd" path="res://edit-add-1.png" id="4_1x5i2"]
[node name="main" type="Node2D"]
script = ExtResource("1_8p35p")
script = ExtResource("1_v038r")
[node name="tabs" type="TabContainer" parent="."]
offset_right = 1594.0
@@ -26,7 +26,7 @@ offset_right = 1.0
offset_bottom = 10.0
grow_horizontal = 2
grow_vertical = 2
script = ExtResource("2_xq1tk")
script = ExtResource("2_mfyp6")
node_type_file = "res://ячейка-1.tscn"
[node name="btn_add" type="TextureButton" parent="tabs/threats"]
@@ -35,8 +35,8 @@ offset_left = 1533.0
offset_top = -2.0
offset_right = 1581.0
offset_bottom = 46.0
texture_normal = ExtResource("3_f3g8t")
texture_pressed = ExtResource("4_4ja4j")
texture_normal = ExtResource("3_6tmn6")
texture_pressed = ExtResource("4_1x5i2")
[node name="btn_del" type="TextureButton" parent="tabs/threats"]
layout_mode = 0
@@ -54,5 +54,5 @@ layout_mode = 0
offset_top = 100.0
offset_right = 1587.0
offset_bottom = 861.0
script = ExtResource("2_xq1tk")
script = ExtResource("2_mfyp6")
node_type_file = "res://ячейка-1.tscn"