Изменение цвета таблиц в "ЭМС ТГ"

This commit is contained in:
lepshiy
2025-12-02 14:01:47 +03:00
parent abf683601e
commit 0497a5dadb
30 changed files with 92 additions and 94 deletions

View File

@@ -3,6 +3,5 @@
[ext_resource type="Texture2D" uid="uid://cj1f2uy6qfvki" path="res://data/23900.png" id="1_v0nwa"]
[node name="23900" type="Sprite2D"]
rotation = 4.71239
scale = Vector2(0.496934, 0.496934)
texture = ExtResource("1_v0nwa")

View File

@@ -717,7 +717,7 @@ func set_coordinates(lon: float, lat: float, course: float) -> void:
add_mark_from_lon_lat(ship_id, lon, lat, ship_instance, 0.0)
else:
_marks[ship_id].position = lonlat_to_world(lon, lat)
ship_instance.rotation_degrees = fmod(270.0 + course, 360.0)
ship_instance.rotation_degrees = fmod(course, 360.0)
queue_redraw()
@@ -727,7 +727,7 @@ func blend_mask(val: bool) -> void:
func update_coordinates_label(lon: float, lat: float) -> void:
coordinates_label = 'Координаты:\nNS:%f\nEW:%f' % [lat, lon]
coordinates_label = 'Координаты: NS: %f, EW: %f' % [lat, lon]
signaller.emit_signal('update_coordinates_map', coordinates_label)