     }
 }
 
-void SetupBitsPanel( int mask ) 
+void SetupBitsPanel(int mask) 
 {
     for (int i = 0; i < 8; i++) 
     {

    layerWindowPosition.x += layerWindow.width / 2;
    layerWindow.visible = true;
    layerWindow.BringToFront();
    
    // Subscribe while window are visible
    SubscribeToEvent("MouseMove", "HandleHideLayerEditor");
    SubscribeToEvent("MouseButtonDown", "HandleHideLayerEditor");
    SubscribeToEvent("MouseWheel", "HandleMaskTypeScroll");
     
    return true;
}


            HideLayerEditor();
    } 
    // if user click on scene - close layser window
    else if (eventType == eventTypeMouseButtonDown) 
    {
        if (ui.focusElement is null) 
        {
