fix(cursor): full 3D click press at the named bounce levels, click impact under click bounce - #846
Conversation
…vels MODEL_CLICK_BOUNCE_REF was still 2.5, the old default. Since the named levels (None 0, Light 1, Strong 2), Light gave the modelled cursor 40% of its designed press and Strong 80%, so the levels barely differed. It is now 1, the default: Light is the designed press, Strong twice it.
|
Navigate logical layers of code changes, visualize relationships, and explore their blast radius. No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: defaults Review profile: CHILL Plan: Advanced Run ID: 📒 Files selected for processing (4)
Included review availability: This review used your included allowance. Your plan provides up to 8 included reviews per hour; 1 remain after this review. 📝 WalkthroughWalkthroughThe modeled cursor’s click-bounce reference changes from 2.5 to 1.0. The effect documentation uses ChangesCursor click effects
Priority: ⬇️ Low Estimated code review effort: 2 (Simple) | ~10 minutes Change: Bug fix Merge Risk: ⚪ Minimal · up to Light and Strong retain their intended 3D press levels, and Click impact moves below Click bounce without changing its setting behavior. The change is ready to merge after normal checks. 🚥 Pre-merge checks | ✅ 5✅ Passed checks (5 passed)
✨ Finishing Touches📝 Generate docstrings
🧪 Generate unit tests (beta)
Warning Some tools did not complete. Review the errors below. 🔧 Clippy (1.98.1)Clippy execution failed 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. Comment |
|
@coderabbitai review |
✅ Action performedReview finished.
|
Summary
Two cursor pane fixes, from testing the click impact change (#836).
MODEL_CLICK_BOUNCE_REFwas still 2.5, the old default. Since the named levels (None 0, Light 1, Strong 2), Light gave the modelled cursor 40% of its designed press and Strong 80%, so the three levels barely differed. It is now 1, the default: Light is the designed press, Strong twice it (the old slider maximum). At the trough, Light goes from 22° to 28° of pitch, 88% to 70% thickness and a 40% ring to a full one; Strong from 26° to 38°, 76% to 55%, and a full ring 1.25× larger. The flat sprite is unchanged.Related issue
None.
Type of change
Release impact
Desktop impact
Screenshots / video
Not attached.
Testing
cargo test -p openscreen-compositor --lib: 373 pass. D3D11cursor_model_render,cursor_tap_render,device_frame_render: 30 pass. Their scenes pass 2.5, so they now exercise Strong.tscapp and tests, Biome: clean..github/scripts/stable-release-notes.test.mjs, which fails on any CRLF checkout and passes on Linux.ci.ymldoes not run on PRs to this base.🤖 Generated with Claude Code
Summary by CodeRabbit