MD Settings: Fix a resolution slider bug
Moving from a tab of a display that has more modes to a tab of another display that has less modes, where the selected mode of the first display has index >= max index of the second display's modes, this would result in the first display's mode changing to the previous one in the slider. This CL fixes this issue by ignoring change callbacks when the various parameters of the currently selected display are still out of sync. BUG=822248 Cq-Include-Trybots: master.tryserver.chromium.linux:closure_compilation Change-Id: I97d1a55b87ad99d9d6821270618609a7c4a880a7 Reviewed-on: https://chromium-review.googlesource.com/965630 Commit-Queue: Ahmed Fakhry <afakhry@chromium.org> Reviewed-by:Steven Bennetts <stevenjb@chromium.org> Cr-Commit-Position: refs/heads/master@{#543903}
Showing
Please register or sign in to comment