Changeset 197035 in webkit


Ignore:
Timestamp:
Feb 24, 2016, 9:56:11 AM (9 years ago)
Author:
timothy@apple.com
Message:

Follow up fix for the TimelineRuler "select all" mode to fix zeroTime.

https://bugs.webkit.org/show_bug.cgi?id=154561
rdar://problem/24779872

  • UserInterface/Views/TimelineRuler.js:

(WebInspector.TimelineRuler.prototype.set zeroTime): Change selectionStartTime
before _zeroTime so the check for entireRangeSelected still works.

Location:
trunk/Source/WebInspectorUI
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/WebInspectorUI/ChangeLog

    r197034 r197035  
     12016-02-24  Timothy Hatcher  <timothy@apple.com>
     2
     3        Follow up fix for the TimelineRuler "select all" mode to fix zeroTime.
     4
     5        https://bugs.webkit.org/show_bug.cgi?id=154561
     6        rdar://problem/24779872
     7
     8        * UserInterface/Views/TimelineRuler.js:
     9        (WebInspector.TimelineRuler.prototype.set zeroTime): Change selectionStartTime
     10        before _zeroTime so the check for entireRangeSelected still works.
     11
    1122016-02-24  Matt Baker  <mattbaker@apple.com>
    213
  • trunk/Source/WebInspectorUI/UserInterface/Views/TimelineRuler.js

    r197034 r197035  
    175175            return;
    176176
     177        if (this.entireRangeSelected)
     178            this.selectionStartTime = x;
     179
    177180        this._zeroTime = x;
    178         if (this.entireRangeSelected)
    179             this.selectionStartTime = this._zeroTime;
    180181
    181182        this.needsLayout();
Note: See TracChangeset for help on using the changeset viewer.