Web Inspector: Popover displaying "reasons for compositing" may remain on screen...
authorgraouts@apple.com <graouts@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Mon, 30 Sep 2013 20:07:10 +0000 (20:07 +0000)
committergraouts@apple.com <graouts@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Mon, 30 Sep 2013 20:07:10 +0000 (20:07 +0000)
https://bugs.webkit.org/show_bug.cgi?id=117575

Ensure the popover attached to the selected data grid node is updated when the
content or sort order of the Layer sidebar panel is updated.

Reviewed by Darin Adler.

* UserInterface/LayerTreeSidebarPanel.js:
(WebInspector.LayerTreeSidebarPanel.prototype._sortDataGrid):

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@156673 268f45cc-cd09-0410-ab3c-d52691b4dbfc

Source/WebInspectorUI/ChangeLog
Source/WebInspectorUI/UserInterface/LayerTreeSidebarPanel.js

index 8b45d11fca7d05dabc39601277aef58fff3e5d83..467fa96d1c27d43d9fd7033dbdff450ed792e0df 100644 (file)
@@ -1,3 +1,16 @@
+2013-09-30  Antoine Quint  <graouts@apple.com>
+
+        Web Inspector: Popover displaying "reasons for compositing" may remain on screen after selected layer is removed
+        https://bugs.webkit.org/show_bug.cgi?id=117575
+
+        Ensure the popover attached to the selected data grid node is updated when the
+        content or sort order of the Layer sidebar panel is updated.
+
+        Reviewed by Darin Adler.
+
+        * UserInterface/LayerTreeSidebarPanel.js:
+        (WebInspector.LayerTreeSidebarPanel.prototype._sortDataGrid):
+
 2013-09-30  Antoine Quint  <graouts@apple.com>
 
         Web Inspector: nodes can be dragged from the console log
 2013-09-30  Antoine Quint  <graouts@apple.com>
 
         Web Inspector: nodes can be dragged from the console log
index 26d28f8f3a03dba97177272d3ae13c443c1627ef..e9e2301a7f3513bfbd75b315af2d8150af2873fe 100644 (file)
@@ -178,6 +178,8 @@ WebInspector.LayerTreeSidebarPanel.prototype = {
         nodes.sort(comparator);
 
         dataGrid.setChildren(nodes);
         nodes.sort(comparator);
 
         dataGrid.setChildren(nodes);
+
+        this._updatePopoverForSelectedNode();
     },
 
     _selectedDataGridNodeChanged: function()
     },
 
     _selectedDataGridNodeChanged: function()