You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
static const float WINDOWS_MOUSE_WHEEL_SCROLL_LOCK_TIMER = 0.70f; // Lock scrolled window (so it doesn't pick child windows that are scrolling through) for a certain time, unless mouse moved.
//PushStyleVar(ImGuiStyleVar_Alpha, g.Style.Alpha * 0.60f); // This would be nice but e.g ColorButton with checkboard has issue with transparent colors :(
// Position tooltip (always follows mouse + clamp within outer boundaries)
12129
-
// Note that drag and drop tooltips are NOT using this path: BeginTooltipEx() manually sets their position.
12130
-
// In theory we could handle both cases in same location, but requires a bit of shuffling as drag and drop tooltips are calling SetWindowPos() leading to 'window_pos_set_by_api' being set in Begin()
12136
+
// FIXME:
12137
+
// - Too many paths. One problem is that FindBestWindowPosForPopupEx() doesn't allow passing a suggested position (so touch screen path doesn't use it by default).
12138
+
// - Drag and drop tooltips are not using this path either: BeginTooltipEx() manually sets their position.
12139
+
// - Require some tidying up. In theory we could handle both cases in same location, but requires a bit of shuffling
12140
+
// as drag and drop tooltips are calling SetNextWindowPos() leading to 'window_pos_set_by_api' being set in Begin().
0 commit comments