mirror of
https://github.com/Ed94/raddebugger.git
synced 2026-12-01 18:13:20 -08:00
more progress on new eval/view-rule integration; raddbg_entry_point markup feature
This commit is contained in:
1 parent
ecb3992b93
commit
da69d9e91c
9 files changed
+84
-26
No files matched your search
@@ -10053,7 +10053,7 @@ rd_window_frame(void)
|
||||
// rjf: hot effect extension
|
||||
if(box->flags & UI_BoxFlag_DrawHotEffects)
|
||||
{
|
||||
B32 is_hot = ui_key_match(box->key, ui_hot_key());
|
||||
B32 is_hot = !ui_key_match(box->key, ui_key_zero()) && ui_key_match(box->key, ui_hot_key());
|
||||
Vec4F32 hover_color = ui_color_from_tags_key_name(box->tags_key, str8_lit("hover"));
|
||||
|
||||
// rjf: brighten
|
||||
@@ -10264,7 +10264,7 @@ rd_window_frame(void)
|
||||
if(b->flags & UI_BoxFlag_DrawHotEffects)
|
||||
{
|
||||
Vec4F32 color = ui_color_from_tags_key_name(box->tags_key, str8_lit("hover"));
|
||||
if(!ui_key_match(b->key, ui_hot_key()))
|
||||
if(ui_key_match(b->key, ui_key_zero()) || !ui_key_match(b->key, ui_hot_key()))
|
||||
{
|
||||
color.w *= b->hot_t;
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user