Skip to content

Commit

Permalink
Dev Tools: Adjust Dev Tool Source panel show/hide sidebar icons
Browse files Browse the repository at this point in the history
Instead of rotating icons for the right hand side, flip the icons along the x-axis.

BUG=671930
[email protected]

Review-Url: https://codereview.chromium.org/2658363003
Cr-Commit-Position: refs/heads/master@{#446978}
  • Loading branch information
JakeHendy authored and Commit bot committed Jan 30, 2017
1 parent 1669375 commit 9d14d09
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions front_end/ui/Icon.js
Original file line number Diff line number Diff line change
Expand Up @@ -174,9 +174,9 @@ UI.Icon.Descriptors = {
'largeicon-show-left-sidebar': {x: -160, y: -72, width: 28, height: 24, spritesheet: 'largeicons', isMask: true},
'largeicon-hide-left-sidebar': {x: -192, y: -72, width: 28, height: 24, spritesheet: 'largeicons', isMask: true},
'largeicon-show-right-sidebar':
{x: -160, y: -72, width: 28, height: 24, spritesheet: 'largeicons', isMask: true, transform: 'rotate(180deg)'},
{x: -160, y: -72, width: 28, height: 24, spritesheet: 'largeicons', isMask: true, transform: 'scaleX(-1)'},
'largeicon-hide-right-sidebar':
{x: -192, y: -72, width: 28, height: 24, spritesheet: 'largeicons', isMask: true, transform: 'rotate(180deg)'},
{x: -192, y: -72, width: 28, height: 24, spritesheet: 'largeicons', isMask: true, transform: 'scaleX(-1)'},
'largeicon-show-top-sidebar': {
x: -160,
y: -72,
Expand Down

0 comments on commit 9d14d09

Please sign in to comment.