color-ui: a square wheel's inner press part is pointer-only, the square's own stop takes the keys

This commit is contained in:
bflatastic committed 2026-11-22 08:00:09 +07:00
1 parent 997acb41e1
commit db364a1d2b
1 file changed
+2
+2
View File
@@ -443,6 +443,8 @@ impl Component for ColorWheel<'_> {
if self.inner == WheelInner::Triangle {
// The triangle turns with the hue, so its ring is rebuilt each pass.
triangle.focusable().focus_shape(FocusShape::Polygon(geometry.corners(hue, 0.0).to_vec()));
} else {
triangle.pointer_only("the square's own stop takes the keys");
}
let marker_reach = Marker::reach(&cx.style.knob, MarkerSize::Regular);
for (index, place) in self.places(&geometry).into_iter().enumerate() {