-
Notifications
You must be signed in to change notification settings - Fork 1.3k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[Fixed] Specify default layout grid (#1296)
* [Fixed] Specify default layout grid Previously users would see blank values for grid size even though a default was applied. Users will now see default values for grid size which should prevent them from accidentally changing grid size. Fixes #1285 * [Fixed] Don't hardcode grid size Remove hardcoded grid size per comments. #1296 (comment) * [Fixed] read layout before initial refresh Read the layoutGrid sizes from scope (when watch is registered) before refreshing elements, to ensure that layoutGrid is set properly. #1296 (comment) * [Spec] Update spec to match Update spec to trigger watch on initialization to ensure layoutGrid is set. #1296
- Loading branch information
Showing
3 changed files
with
7 additions
and
7 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -204,6 +204,7 @@ define([ | |
} | ||
], | ||
"model": { | ||
"layoutGrid": [64, 16], | ||
"composition": [] | ||
}, | ||
"properties": [ | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters