Changeset 211243 in webkit
- Timestamp:
- Jan 26, 2017 5:01:30 PM (7 years ago)
- Location:
- trunk/Source/WebKit/mac
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/WebKit/mac/ChangeLog
r211207 r211243 1 2017-01-26 Wenson Hsieh <wenson_hsieh@apple.com> 2 3 REGRESSION (r207483): Touch Bar: Lists and BIU Buttons Missing from Touch Bar in HTML Notes 4 https://bugs.webkit.org/show_bug.cgi?id=167472 5 <rdar://problem/30149809> 6 7 Reviewed by Beth Dakin. 8 9 Revision 207483 caused the touch bar to stop showing up in HTML Notes due to -updateTextTouchBar not 10 initializing the text touch bar and causing -makeTouchBar to return nil while processing a mouse click. The 11 purpose of bailing out of the update was to prevent the text touch bar from thrashing during a selection drag. 12 If the text touch bar doesn't exist yet, we don't have to worry about its appearance flickering from a different 13 previous state, so we should just allow the touch bar to update instead. 14 15 * WebView/WebView.mm: 16 (-[WebView updateTextTouchBar]): 17 1 18 2017-01-26 Per Arne Vollan <pvollan@apple.com> 2 19 -
trunk/Source/WebKit/mac/WebView/WebView.mm
r211207 r211243 9549 9549 - (void)updateTextTouchBar 9550 9550 { 9551 if (_private->_isDeferringTextTouchBarUpdates) { 9551 BOOL touchBarsRequireInitialization = !_private->_richTextTouchBar || !_private->_plainTextTouchBar; 9552 if (_private->_isDeferringTextTouchBarUpdates && !touchBarsRequireInitialization) { 9552 9553 _private->_needsDeferredTextTouchBarUpdate = YES; 9553 9554 return;
Note: See TracChangeset
for help on using the changeset viewer.