Give the Move dialog the canvas value box every other dialog already has (#739)
The Move dialog gets the same canvas value box as the other dialogs: X for translating moves, the angle for Rotate, placed clear of the triad.
This commit is contained in:
1 parent
4112189551
commit
6f4a9d96fb
6 files changed
+137
-14
No files matched your search
@@ -0,0 +1,17 @@
|
||||
[
|
||||
{"note": "The Move window's value box on the canvas. Picking a body gives it the keyboard, so a typed number sets the move without hunting for a field first. Which value the box reads follows the move type, covered by dialogs_move_tests."},
|
||||
{"call": "engine.execute", "params": {"command": "solid.box", "params": {"length": 20, "width": 20, "height": 20}}},
|
||||
{"call": "ui.view", "params": {"view": "iso"}},
|
||||
|
||||
{"note": "Free Move: pick the body, type 30, press Enter. Nothing is clicked in the window at all."},
|
||||
{"start": "solid.move"},
|
||||
{"click": {"world": [10, 10, 20]}},
|
||||
{"expect": {"dialog": "Move", "bodies": 1}},
|
||||
{"text": "30"},
|
||||
{"expect": {"dialog": "x: \"30\""}},
|
||||
{"key": "Enter"},
|
||||
{"expect": {"dialog": null, "errors": 0, "bodies": 1}},
|
||||
{"expect": {"bbox": {"body": "Body1", "min": [30, 0, 0], "max": [50, 20, 20]}}},
|
||||
|
||||
{"shot": "move_canvas_value"}
|
||||
]
|
||||
Reference in new issue
Block a user