mirror of
https://github.com/storytold/photocraft.git
synced 2026-12-02 06:20:48 +01:00
Use the actual pixel grid Show preference in regression
This commit is contained in:
1 parent
173e7fd6bd
commit
ce0ba03572
1 file changed
+2
-2
@@ -551,12 +551,12 @@ fn failed_selection_and_unrelated_edits_keep_extras_hidden() {
|
||||
fn new_selection_preserves_individual_show_preferences() {
|
||||
let (mut app, ctx) = app_with(1);
|
||||
app.ui.view.show.selection_edges = false;
|
||||
app.ui.view.show.grid = false;
|
||||
app.ui.view.show.pixel_grid = false;
|
||||
menu(&mut app, &ctx, "view.extras", json!({})).unwrap();
|
||||
app.run("select.rect", json!({"x": 10, "y": 10, "width": 20, "height": 20})).unwrap();
|
||||
assert!(app.ui.view.extras);
|
||||
assert!(!app.ui.view.show.selection_edges);
|
||||
assert!(!app.ui.view.show.grid);
|
||||
assert!(!app.ui.view.show.pixel_grid);
|
||||
}
|
||||
|
||||
#[test]
|
||||
|
||||
Reference in new issue
Block a user