mirror of
https://github.com/MaSzyna-EU07/maszyna.git
synced 2026-10-29 08:07:29 +01:00
feat(editor): laying track for a beginner: Ctrl+Z and Backspace during a chain of laid pieces go back to the end of the piece before instead of carrying on from a removed track (Ctrl+Y ends the chain); every warning of the laid shape and of a join is shown by the cursor for 4 s after the click, also when the radius chosen on the wheel didn't reach the cursor and the arc goes through it, the preview of a shape with a warning is orange as it is laid anyway; the switch type stays chosen after a switch is placed; the status says each click lays a piece; a "First steps" window (Help menu, opens with the editor until unticked) with eight steps ticked off as they are done; an empty scenery opens in Tracks with the camera over its origin and a grid where there is no ground under the cursor; F1 lists the laying gestures (Ctrl/Shift+wheel, drag from a free end, typed length); self-test command laychain; Polish translation
This commit is contained in:
@@ -23,6 +23,7 @@ ImU32 constexpr marked{IM_COL32(255, 210, 60, 255)};
|
||||
ImU32 constexpr grip{IM_COL32(60, 230, 90, 255)};
|
||||
ImU32 constexpr selected{IM_COL32(40, 220, 255, 255)};
|
||||
ImU32 constexpr invalid{IM_COL32(255, 60, 60, 255)};
|
||||
ImU32 constexpr warning{IM_COL32(255, 140, 40, 255)};
|
||||
ImU32 constexpr highlight{IM_COL32(255, 255, 255, 255)};
|
||||
} // namespace overlay_color
|
||||
|
||||
|
||||
Reference in New Issue
Block a user