This commit is contained in:
sasha80
2023-08-15 13:45:54 +03:00
parent af5fcfa2a6
commit 2149724638
2 changed files with 4 additions and 4 deletions

View File

@@ -5,8 +5,8 @@
[ext_resource type="PackedScene" uid="uid://b5kjdyxuwsot5" path="res://scenes/canvas.tscn" id="2_bl0yt"] [ext_resource type="PackedScene" uid="uid://b5kjdyxuwsot5" path="res://scenes/canvas.tscn" id="2_bl0yt"]
[ext_resource type="PackedScene" uid="uid://bq7haw1ypiv48" path="res://scenes/frame.tscn" id="3_l1omj"] [ext_resource type="PackedScene" uid="uid://bq7haw1ypiv48" path="res://scenes/frame.tscn" id="3_l1omj"]
[ext_resource type="PackedScene" uid="uid://da7w3vkhadfwe" path="res://scenes/button_flat.tscn" id="4_5es2r"] [ext_resource type="PackedScene" uid="uid://da7w3vkhadfwe" path="res://scenes/button_flat.tscn" id="4_5es2r"]
[ext_resource type="Script" path="res://scenes/frm_threats.gd" id="4_hg23i"]
[ext_resource type="Script" path="res://table/table.gd" id="4_mqhcf"] [ext_resource type="Script" path="res://table/table.gd" id="4_mqhcf"]
[ext_resource type="Script" path="res://scenes/scrl_threats.gd" id="6_nr8d7"]
[ext_resource type="FontFile" uid="uid://befva8r034a4v" path="res://data/DSEG7Classic-Regular.ttf" id="7_22fjb"] [ext_resource type="FontFile" uid="uid://befva8r034a4v" path="res://data/DSEG7Classic-Regular.ttf" id="7_22fjb"]
[sub_resource type="StyleBoxFlat" id="StyleBoxFlat_5ugj8"] [sub_resource type="StyleBoxFlat" id="StyleBoxFlat_5ugj8"]
@@ -34,8 +34,7 @@ offset_left = 1121.0
offset_top = 6.0 offset_top = 6.0
offset_right = 1594.0 offset_right = 1594.0
offset_bottom = 642.0 offset_bottom = 642.0
script = ExtResource("4_hg23i") script = null
text = "Список целей"
metadata/_edit_lock_ = true metadata/_edit_lock_ = true
[node name="рамка-параметры-цели" parent="frm_threats" instance=ExtResource("3_l1omj")] [node name="рамка-параметры-цели" parent="frm_threats" instance=ExtResource("3_l1omj")]
@@ -204,6 +203,7 @@ offset_top = 57.0
offset_right = 464.0 offset_right = 464.0
offset_bottom = 306.0 offset_bottom = 306.0
horizontal_scroll_mode = 0 horizontal_scroll_mode = 0
script = ExtResource("6_nr8d7")
[node name="tbl_threats" type="GridContainer" parent="frm_threats/scrl_threats"] [node name="tbl_threats" type="GridContainer" parent="frm_threats/scrl_threats"]
layout_mode = 2 layout_mode = 2

View File

@@ -11,7 +11,7 @@ uniform float dir: hint_range(0.0, 360.0) = 0.0;
uniform float inner_clip: hint_range(0.0, 0.125) = 0.045; uniform float inner_clip: hint_range(0.0, 0.125) = 0.045;
const vec2 center = vec2(0.125, 0.125); /* Центр должен быть в (0.5, 0.5), но это не так */ const vec2 center = vec2(0.125, 0.125); /* Центр. Должен быть в (0.5, 0.5), но это не так */
const float dsa = 0.0025; /* Относительное расстояние на котором выполняется сглаживание краёв по радиальным линиям */ const float dsa = 0.0025; /* Относительное расстояние на котором выполняется сглаживание краёв по радиальным линиям */
const float dsr = 0.00025; /* Относительное расстояние на котором выполняется сглаживание краёв по круговым линиям */ const float dsr = 0.00025; /* Относительное расстояние на котором выполняется сглаживание краёв по круговым линиям */