Commit a78742cc authored by mukai@chromium.org's avatar mukai@chromium.org

Set the default focus on the first display in the display settings.

Previously this settings page assumes that there are multiple
displays, but now this page provides settings for a single display.
Better to focus on the first display rather than the secondary one.

BUG=246587
TEST=manually
R=xiyuan@chromium.org

Review URL: https://chromiumcodereview.appspot.com/15993017

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@204064 0039d316-1c4b-4281-b951-d872f2087c98
parent 3429d254
...@@ -839,7 +839,7 @@ cr.define('options', function() { ...@@ -839,7 +839,7 @@ cr.define('options', function() {
if (this.mirroring_) if (this.mirroring_)
this.focusedIndex_ = null; this.focusedIndex_ = null;
else if (this.displays_.length != displays.length) else if (this.displays_.length != displays.length)
this.focusedIndex_ = 1; this.focusedIndex_ = 0;
this.displays_ = displays; this.displays_ = displays;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment