fix consistency issues

This commit is contained in:
Ryan Fleury
2025-03-25 16:06:13 -07:00
parent 8ba44295c6
commit 4787a183e3
2 changed files with 11 additions and 4 deletions
+2 -2
View File
@@ -1959,9 +1959,9 @@ internal void
ui_tooltip_begin(void)
{
ui_tooltip_begin_base();
ui_set_next_squish(0.25f-ui_state->tooltip_open_t*0.25f);
ui_set_next_squish(0.1f-ui_state->tooltip_open_t*0.1f);
ui_set_next_transparency(1-ui_state->tooltip_open_t);
UI_Flags(UI_BoxFlag_DrawBorder|UI_BoxFlag_DrawBackground|UI_BoxFlag_DrawBackgroundBlur|UI_BoxFlag_DrawDropShadow)
UI_Flags(UI_BoxFlag_DrawBorder|UI_BoxFlag_DrawBackground|UI_BoxFlag_DrawBackgroundBlur|UI_BoxFlag_DrawDropShadow|UI_BoxFlag_SquishAnchored)
UI_PrefWidth(ui_children_sum(1))
UI_PrefHeight(ui_children_sum(1))
UI_CornerRadius(ui_top_font_size()*0.25f)