X-Git-Url: http://git.cinelerra-gg.org/git/?a=blobdiff_plain;f=cinelerra-5.1%2Fguicast%2Fbcpan.C;fp=cinelerra-5.1%2Fguicast%2Fbcpan.C;h=e35925f43c38ac6017a39494d5d5863730accb67;hb=4f7f413cbc1c6ea5da27cb75ca27a3ab317243ec;hp=7af2d1eb3591ce18080de6a74cdbb4376e38ba70;hpb=72a6abf751403bd91464e77ff2cece01c9756a6b;p=goodguy%2Fhistory.git diff --git a/cinelerra-5.1/guicast/bcpan.C b/cinelerra-5.1/guicast/bcpan.C index 7af2d1eb..e35925f4 100644 --- a/cinelerra-5.1/guicast/bcpan.C +++ b/cinelerra-5.1/guicast/bcpan.C @@ -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); }