fix(ui): activatable charts draw their own keyboard outline
BarChart, StackedBar and HeatmapStrip outline the bar, segment or cell the keyboard is on, so the element-wide system focus rectangle is turned off. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_012iLMBNwBE2GnphAsu4cjaC
This commit is contained in:
1 file changed
+13
@@ -151,6 +151,19 @@
|
|||||||
<Setter Property="FocusVisualStyle" Value="{DynamicResource Focus.Ring}" />
|
<Setter Property="FocusVisualStyle" Value="{DynamicResource Focus.Ring}" />
|
||||||
</Style>
|
</Style>
|
||||||
|
|
||||||
|
<!-- Charts that something activates take the keyboard and outline the bar, segment or cell it is on themselves. -->
|
||||||
|
<Style TargetType="v:BarChart">
|
||||||
|
<Setter Property="FocusVisualStyle" Value="{x:Null}" />
|
||||||
|
</Style>
|
||||||
|
|
||||||
|
<Style TargetType="v:StackedBar">
|
||||||
|
<Setter Property="FocusVisualStyle" Value="{x:Null}" />
|
||||||
|
</Style>
|
||||||
|
|
||||||
|
<Style TargetType="v:HeatmapStrip">
|
||||||
|
<Setter Property="FocusVisualStyle" Value="{x:Null}" />
|
||||||
|
</Style>
|
||||||
|
|
||||||
<!-- ===================== Preview viewport (BRIEF §12.3) ===================== -->
|
<!-- ===================== Preview viewport (BRIEF §12.3) ===================== -->
|
||||||
<!-- The image surface (a drawn visual, always left to right) and the numeric shot data stay left to right; the tool
|
<!-- The image surface (a drawn visual, always left to right) and the numeric shot data stay left to right; the tool
|
||||||
row follows the layout direction. -->
|
row follows the layout direction. -->
|
||||||
|
|||||||
Reference in new issue
Block a user