Web Inspector: RTL: Switching back to System Direction doesn't change the dock side
authorcommit-queue@webkit.org <commit-queue@webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Thu, 9 Mar 2017 01:47:33 +0000 (01:47 +0000)
committercommit-queue@webkit.org <commit-queue@webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Thu, 9 Mar 2017 01:47:33 +0000 (01:47 +0000)
commitef2efb8d61efcfc9e6f97f8146a07408941c0321
tree2b4a4cd698a3490660653973d103c3155f8d9ce1
parent6af47e96848dba34cea120dbea2f73912834c786
Web Inspector: RTL: Switching back to System Direction doesn't change the dock side
https://bugs.webkit.org/show_bug.cgi?id=169323

Patch by Devin Rousso <dcrousso+webkit@gmail.com> on 2017-03-08
Reviewed by Brian Burg.

* UserInterface/Base/Main.js:
(WebInspector.setLayoutDirection):
Change the dock side based on the resolved layout direction, not the current setting value.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@213615 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Source/WebInspectorUI/ChangeLog
Source/WebInspectorUI/UserInterface/Base/Main.js