From 9d14d09ad5cfda5829b93f1909ebb5d4d47f111b Mon Sep 17 00:00:00 2001 From: me Date: Mon, 30 Jan 2017 06:21:43 -0800 Subject: [PATCH] Dev Tools: Adjust Dev Tool Source panel show/hide sidebar icons Instead of rotating icons for the right hand side, flip the icons along the x-axis. BUG=671930 R=lushnikov@chromium.org Review-Url: https://codereview.chromium.org/2658363003 Cr-Commit-Position: refs/heads/master@{#446978} --- front_end/ui/Icon.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/front_end/ui/Icon.js b/front_end/ui/Icon.js index 667fe18532..fdf9579351 100644 --- a/front_end/ui/Icon.js +++ b/front_end/ui/Icon.js @@ -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,