~ricotz/plank/consolidate-api

« back to all changes in this revision

Viewing changes to lib/DockController.vala

  • Committer: Rico Tzschichholz
  • Date: 2015-07-02 10:31:07 UTC
  • Revision ID: ricotz@ubuntu.com-20150702103107-su8z8e2p8k3s6wut
Add optional zoom animation when hovering dock-items

Show diffs side-by-side

added added

removed removed

Lines of Context:
348
348
                                && added.size != removed.size) {
349
349
                                position_manager.update (renderer.theme);
350
350
                        } else {
351
 
                                position_manager.reset_item_caches ();
352
351
                                position_manager.update_regions ();
353
352
                        }
354
353
                        window.update_icon_regions ();
362
361
                        update_visible_elements ();
363
362
                        
364
363
                        foreach (unowned DockElement item in moved_items) {
365
 
                                position_manager.reset_item_cache (item);
366
364
                                unowned ApplicationDockItem? app_item = (item as ApplicationDockItem);
367
365
                                if (app_item != null)
368
366
                                        window.update_icon_region (app_item);