Skip to content

Commit

Permalink
fix(ui5-slider, ui5-range-slider): apply correct handle's icon (#5612)
Browse files Browse the repository at this point in the history
* fix(ui5-slider, ui5-range-slider): apply correct handle's icon

* fix(ui5-slider): import used icon
  • Loading branch information
niyap authored Aug 3, 2022
1 parent c8f4178 commit 1706174
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions packages/main/src/RangeSlider.hbs
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@
aria-labelledby="{{_ariaLabelledByStartHandleRefs}}"
aria-disabled="{{_ariaDisabled}}"
>
<ui5-icon name="source-code" slider-icon></ui5-icon>
<ui5-icon name="direction-arrows" slider-icon></ui5-icon>

{{#if showTooltip}}
<div class="ui5-slider-tooltip ui5-slider-tooltip--start" style="{{styles.tooltip}}">
Expand All @@ -59,7 +59,7 @@
aria-labelledby="{{_ariaLabelledByEndHandleRefs}}"
aria-disabled="{{_ariaDisabled}}"
>
<ui5-icon name="source-code" slider-icon></ui5-icon>
<ui5-icon name="direction-arrows" slider-icon></ui5-icon>

{{#if showTooltip}}
<div class="ui5-slider-tooltip ui5-slider-tooltip--end" style="{{styles.tooltip}}">
Expand Down
2 changes: 1 addition & 1 deletion packages/main/src/Slider.hbs
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@
data-sap-focus-ref
part="handle"
>
<ui5-icon name="source-code" part="icon-slider" slider-icon></ui5-icon>
<ui5-icon name="direction-arrows" part="icon-slider" slider-icon></ui5-icon>
{{#if showTooltip}}
<div class="ui5-slider-tooltip" style="{{styles.tooltip}}">
<span class="ui5-slider-tooltip-value">{{tooltipValue}}</span>
Expand Down
2 changes: 1 addition & 1 deletion packages/main/src/SliderBase.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import Float from "@ui5/webcomponents-base/dist/types/Float.js";
import Integer from "@ui5/webcomponents-base/dist/types/Integer.js";
import ResizeHandler from "@ui5/webcomponents-base/dist/delegate/ResizeHandler.js";
import { isPhone } from "@ui5/webcomponents-base/dist/Device.js";
import "@ui5/webcomponents-icons/dist/source-code.js";
import "@ui5/webcomponents-icons/dist/direction-arrows.js";
import {
isEscape, isHome, isEnd, isUp, isDown, isRight, isLeft, isUpCtrl, isDownCtrl, isRightCtrl, isLeftCtrl, isPlus, isMinus, isPageUp, isPageDown,
} from "@ui5/webcomponents-base/dist/Keys.js";
Expand Down

0 comments on commit 1706174

Please sign in to comment.