Iterate over the array instead of an unnecessary vector
This commit is contained in:
parent
2e2356ab5f
commit
06d25df4ef
1 changed files with 1 additions and 1 deletions
|
|
@ -419,7 +419,7 @@ impl MoveGrab {
|
|||
// Check for overlapping with zones
|
||||
if grab_state.previous == ManagedLayer::Floating {
|
||||
let output_geometry = current_output.geometry().to_local(¤t_output);
|
||||
grab_state.snapping_zone = vec![
|
||||
grab_state.snapping_zone = [
|
||||
SnappingZone::Maximize,
|
||||
SnappingZone::Top,
|
||||
SnappingZone::TopLeft,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue