Page MenuHome

UI: Fix scaling of HSV cursor when zooming
ClosedPublic

Authored by Leon Schittek (lone_noel) on Dec 1 2021, 11:05 PM.

Details

Summary

Allow scaling of the circle used as cursor in the color widget
based on the zoom.


The small circle used to choose the hue/saturation and value in the
color widget was drawn with a fixed screen space size. With the
recent extension of the zoom limits in the node editor the lack of
scaling can lead to bizarre results.

masterpatch

This could have been part of D12842 but the implementation is
pretty independent and I wasn't sure what the procedure was, since
the patch was already accepted.

Based on a fix provided by @Erik Abrahamsson (erik85)

Diff Detail

Repository
rB Blender
Branch
ui-fix-hsv-cursor-scale (branched from master)
Build Status
Buildable 19135
Build 19135: arc lint + arc unit

Event Timeline

Leon Schittek (lone_noel) requested review of this revision.Dec 1 2021, 11:05 PM
Leon Schittek (lone_noel) added projects: User Interface, Restricted Project.

Thanks, this looks good to me.

This revision is now accepted and ready to land.Dec 2 2021, 4:22 AM