17
0
mirror of https://github.com/MaSzyna-EU07/maszyna.git synced 2026-10-26 18:14:55 +01:00

feat(editor): tooltips of the track fields, textures applied on leaving the field

This commit is contained in:
maj00r
2026-10-04 01:04:41 +02:00
parent 17725b6527
commit 661c211b2e
2 changed files with 57 additions and 9 deletions

View File

@@ -303,7 +303,7 @@ class editor_mode : public application_mode, private editor_track::observer
std::chrono::steady_clock::time_point m_track_last_commit;
editor_track::state m_track_field_before;
std::array<std::array<char, 256>, 3> m_track_materials{};
std::array<bool, 3> m_track_material_edited{};
std::array<TTrack const *, 3> m_track_material_edited{}; // path whose texture name is being typed
std::string m_track_mode_notice;
struct route_design
{