diff --git a/src/game/client/components/menus.cpp b/src/game/client/components/menus.cpp index 2fa51cc63..17f12ebc8 100644 --- a/src/game/client/components/menus.cpp +++ b/src/game/client/components/menus.cpp @@ -1114,6 +1114,10 @@ void CMenus::RenderColorPicker() return; } + // Prevent activation of UI elements outside of active color picker + if(UI()->MouseInside(&PickerRect)) + UI()->SetHotItem(&ms_ColorPicker); + // Render ColorRGBA BackgroundColor(0.1f, 0.1f, 0.1f, 1.0f); PickerRect.Draw(BackgroundColor, 0, 0);