Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Resize grid with precision modifier #6104

Merged
merged 2 commits into from
Jul 22, 2024
Merged

Conversation

ruggi
Copy link
Contributor

@ruggi ruggi commented Jul 19, 2024

Problem:

It should be possible to use the cmd modifier key to apply a coarse precision when resizing grid cols/rows similarly to other resizing strategies.

Fix:

When cmd is pressed, adjust col/rows size in steps of 10 for pixel values and .5 for fractional values.

Kapture.2024-07-19.at.11.36.24.mp4

Fixes #6103

Copy link
Contributor

github-actions bot commented Jul 19, 2024

Try me

Copy link

relativeci bot commented Jul 19, 2024

#13447 Bundle Size — 62.64MiB (~+0.01%).

4d0371c(current) vs 6339ece master#13444(baseline)

Warning

Bundle contains 70 duplicate packages – View duplicate packages

Bundle metrics  Change 2 changes Regression 1 regression
                 Current
#13447
     Baseline
#13444
Regression  Initial JS 45.71MiB(~+0.01%) 45.71MiB
No change  Initial CSS 0B 0B
Change  Cache Invalidation 21.55% 21.53%
No change  Chunks 31 31
No change  Assets 34 34
No change  Modules 4376 4376
No change  Duplicate Modules 524 524
No change  Duplicate Code 31.69% 31.69%
No change  Packages 469 469
No change  Duplicate Packages 70 70
Bundle size by type  Change 2 changes Regression 1 regression Improvement 1 improvement
                 Current
#13447
     Baseline
#13444
Regression  JS 62.63MiB (~+0.01%) 62.63MiB
Improvement  HTML 11.16KiB (-0.33%) 11.2KiB

Bundle analysis reportBranch feat/precision-modifier-resize-g...Project dashboard

Copy link
Contributor

@liady liady left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Noice

@ruggi ruggi merged commit 157245e into master Jul 22, 2024
17 checks passed
@ruggi ruggi deleted the feat/precision-modifier-resize-grid branch July 22, 2024 08:54
liady pushed a commit that referenced this pull request Dec 13, 2024
**Problem:**

It should be possible to use the `cmd` modifier key to apply a coarse
precision when resizing grid cols/rows similarly to other resizing
strategies.

**Fix:**

When `cmd` is pressed, adjust col/rows size in steps of `10` for pixel
values and `.5` for fractional values.



https://github.com/user-attachments/assets/cfb61a5d-8712-4082-a084-c233968d8d4d



Fixes #6103
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

grid resize precision
3 participants