X-Git-Url: https://git.openstreetmap.org/potlatch2.git/blobdiff_plain/77a358f5104ea6868dbc8095402812842840f097..baabaf096567c38c4a0d04b3cf5c71eafdd736fd:/net/systemeD/potlatch2/BackgroundSelector.mxml diff --git a/net/systemeD/potlatch2/BackgroundSelector.mxml b/net/systemeD/potlatch2/BackgroundSelector.mxml index cb65eb61..78d4b91a 100644 --- a/net/systemeD/potlatch2/BackgroundSelector.mxml +++ b/net/systemeD/potlatch2/BackgroundSelector.mxml @@ -11,9 +11,9 @@ dataProvider="{Imagery.instance().getAvailableImagery()}" rowCount="{Imagery.instance().getAvailableImagery().length}"/> - - @@ -32,6 +32,8 @@ import mx.collections.ArrayCollection; import mx.managers.PopUpManager; + [Bindable] private var application:Object = FlexGlobals.topLevelApplication; + public function setDimming(v:Boolean):void { FlexGlobals.topLevelApplication.theMap.setDimming(dim.selected); FlexGlobals.topLevelApplication.yahoo.alpha = dim.selected ? 0.5 : 1;