Skip to content

Commit

Permalink
Added Highlighted and HighlightedFocused states to Slider.
Browse files Browse the repository at this point in the history
  • Loading branch information
vchelaru committed Jan 20, 2024
1 parent a088faf commit b3b87e2
Show file tree
Hide file tree
Showing 2 changed files with 49 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -4,12 +4,19 @@
<RequiredVariables />
<Category>
<Name>SliderCategory</Name>
<IsSetRecursively>false</IsSetRecursively>
<State>
<Name>Enabled</Name>
</State>
<State>
<Name>Focused</Name>
</State>
<State>
<Name>Highlighted</Name>
</State>
<State>
<Name>HighlightedFocused</Name>
</State>
</Category>
<RequiredInstances>
<InstanceSave>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -235,6 +235,12 @@
<Value xsi:type="xsd:boolean">false</Value>
<SetsValue>true</SetsValue>
</Variable>
<Variable>
<Type>ButtonCategory</Type>
<Name>ThumbInstance.ButtonCategoryState</Name>
<Value xsi:type="xsd:string">Enabled</Value>
<SetsValue>true</SetsValue>
</Variable>
</State>
<State>
<Name>Focused</Name>
Expand All @@ -244,6 +250,42 @@
<Value xsi:type="xsd:boolean">true</Value>
<SetsValue>true</SetsValue>
</Variable>
<Variable>
<Type>ButtonCategory</Type>
<Name>ThumbInstance.ButtonCategoryState</Name>
<Value xsi:type="xsd:string">Enabled</Value>
<SetsValue>true</SetsValue>
</Variable>
</State>
<State>
<Name>Highlighted</Name>
<Variable>
<Type>bool</Type>
<Name>FocusedIndicator.Visible</Name>
<Value xsi:type="xsd:boolean">false</Value>
<SetsValue>true</SetsValue>
</Variable>
<Variable>
<Type>string</Type>
<Name>ThumbInstance.ButtonCategoryState</Name>
<Value xsi:type="xsd:string">Highlighted</Value>
<SetsValue>true</SetsValue>
</Variable>
</State>
<State>
<Name>HighlightedFocused</Name>
<Variable>
<Type>bool</Type>
<Name>FocusedIndicator.Visible</Name>
<Value xsi:type="xsd:boolean">true</Value>
<SetsValue>true</SetsValue>
</Variable>
<Variable>
<Type>ButtonCategory</Type>
<Name>ThumbInstance.ButtonCategoryState</Name>
<Value xsi:type="xsd:string">Highlighted</Value>
<SetsValue>true</SetsValue>
</Variable>
</State>
</Category>
<Instance>
Expand Down

0 comments on commit b3b87e2

Please sign in to comment.