From be3a31324de7aa17b4abc5356dc48b18901316e6 Mon Sep 17 00:00:00 2001 From: Victor Woeltjen Date: Tue, 24 Feb 2015 12:13:27 -0800 Subject: [PATCH] [Fixed Position] Change class based on selection state Change classes for all non-selected objects when an object is selected, WTD-882. --- platform/features/layout/res/templates/fixed.html | 1 + 1 file changed, 1 insertion(+) diff --git a/platform/features/layout/res/templates/fixed.html b/platform/features/layout/res/templates/fixed.html index 9ca5f981c7..03e0b106ee 100644 --- a/platform/features/layout/res/templates/fixed.html +++ b/platform/features/layout/res/templates/fixed.html @@ -15,6 +15,7 @@ style="position: absolute;" key="element.template" parameters="{ gridSize: controller.getGridSize() }" + ng-class="{ disabled: controller.selected() && !controller.selected(element) }" ng-style="element.style" ng-click="controller.select(element)" ng-model="element">