mirror of
https://github.com/GraphiteEditor/Graphite.git
synced 2026-09-28 03:08:12 +08:00
Fix warnings introduced by artboard nodes
This commit is contained in:
committed by
Keavon Chambers
parent
f50909b887
commit
fc6cee372a
@@ -24,9 +24,6 @@ impl MessageHandler<InputPreprocessorMessage, KeyboardPlatformLayout> for InputP
|
|||||||
assert_eq!(bounds_of_viewports.len(), 1, "Only one viewport is currently supported");
|
assert_eq!(bounds_of_viewports.len(), 1, "Only one viewport is currently supported");
|
||||||
|
|
||||||
for bounds in bounds_of_viewports {
|
for bounds in bounds_of_viewports {
|
||||||
let new_size = bounds.size();
|
|
||||||
let existing_size = self.viewport_bounds.size();
|
|
||||||
|
|
||||||
// TODO: Extend this to multiple viewports instead of setting it to the value of this last loop iteration
|
// TODO: Extend this to multiple viewports instead of setting it to the value of this last loop iteration
|
||||||
self.viewport_bounds = bounds;
|
self.viewport_bounds = bounds;
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user