X-Git-Url: http://git.cinelerra-gg.org/git/?a=blobdiff_plain;f=cinelerra-5.1%2Fguicast%2Fbcpan.C;h=d8bce87265d3cf6622c480adee4e538053dda272;hb=ccd23c15fae578be22d48b1a1e8b09cb43d593ae;hp=7af2d1eb3591ce18080de6a74cdbb4376e38ba70;hpb=30bdb85eb33a8ee7ba675038a86c6be59c43d7bd;p=goodguy%2Fhistory.git diff --git a/cinelerra-5.1/guicast/bcpan.C b/cinelerra-5.1/guicast/bcpan.C index 7af2d1eb..d8bce872 100644 --- a/cinelerra-5.1/guicast/bcpan.C +++ b/cinelerra-5.1/guicast/bcpan.C @@ -24,7 +24,7 @@ #include "bcpopup.h" #include "bcresources.h" #include "clip.h" -#include "colors.h" +#include "bccolors.h" #include "fonts.h" #include "rotateframe.h" #include "units.h" @@ -192,12 +192,11 @@ int BC_Pan::button_release_event() int BC_Pan::repeat_event(int64_t duration) { - if( highlighted && !active && !tooltip_done && + if( highlighted && !active && tooltip_text && tooltip_text[0] != 0 && duration == top_level->get_resources()->tooltip_delay ) { show_tooltip(); - tooltip_done = 1; return 1; } return 0; @@ -207,7 +206,6 @@ int BC_Pan::cursor_enter_event() { if(is_event_win() && !highlighted) { - tooltip_done = 0; highlighted = 1; draw(1, 1); }