Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Added size and opacity scaling, modified clock tickring - #9

Merged
anishfn merged 6 commits into
anishfn:mainfrom
fadilasif:widget-scaling-tickring
Sep 5, 2026
Merged

Added size and opacity scaling, modified clock tickring#9
anishfn merged 6 commits into
anishfn:mainfrom
fadilasif:widget-scaling-tickring

Conversation

@fadilasif

Copy link
Copy Markdown
Contributor

No additional widgets added.

@coderabbitai

coderabbitai Bot commented Sep 5, 2026

Copy link
Copy Markdown

Important

  • 🔍 Trigger review

This repository does not receive automatic reviews because it has fewer than 10 stars.

⚙️ Run configuration

Configuration used: defaults

Review profile: CHILL

Plan: Team

Run ID: 6a516470-06a5-4aea-afe7-613778f8bbc7


Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

Three conflicts, all from the side-aware grid and drag-preview work that
landed on main after this branched off 61b7180:

- `cellRect` gained a `side` parameter on main and a scaled `step` here;
  both are kept.
- `dropTarget` gained main's `preview`/`placeDisplacing` return shape, and
  the drop probe keeps measuring from the scaled cell. The early return for
  a point outside the grid now carries `preview: null` like its sibling.
- `cellFromPoint`'s doc comment was auto-merged into two stacked versions;
  main's is the accurate one now that both grids are tried.

The scale test asserted `cellFromPoint` returns `{col, row}`; it returns a
`side` too since main, so the expectation names it.
`MIN_SCALE` was 0, and the editor's field went there. At zero every cell
measures 0x0: nothing is drawn, and `cellFromPoint` answers null for every
point on the screen, so the widgets are gone and cannot be dragged or
selected back -- the only way out is the editor's own chrome.

A quarter is still "as small as it goes" without being a setting that
throws the grid away. The editor's field reads its bounds from the model
rather than repeating them, so the two cannot drift.

@fadilasif fadilasif left a comment

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

Great!

@anishfn
anishfn force-pushed the widget-scaling-tickring branch from 8cee90e to 954a013 Compare September 5, 2026 09:00
@anishfn
anishfn merged commit 21307d7 into anishfn:main Sep 5, 2026
1 check was pending
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.

2 participants