Prechádzať zdrojové kódy

Fixed static analyzer warning.

(was harmless as initialized in NewFrame)
ocornut 6 mesiacov pred
rodič
commit
a931fb7f51
1 zmenil súbory, kde vykonal 1 pridanie a 0 odobranie
  1. 1 0
      imgui.cpp

+ 1 - 0
imgui.cpp

@@ -3906,6 +3906,7 @@ ImGuiContext::ImGuiContext(ImFontAtlas* shared_font_atlas)
     InputEventsNextEventId = 1;
 
     WindowsActiveCount = 0;
+    WindowsBorderHoverPadding = 0.0f;
     CurrentWindow = NULL;
     HoveredWindow = NULL;
     HoveredWindowUnderMovingWindow = NULL;