X-Git-Url: http://git.cinelerra-gg.org/git/?p=goodguy%2Fhistory.git;a=blobdiff_plain;f=cinelerra-5.1%2Fguicast%2Fbctumble.C;h=e95f8abbdc5fedff1c2d6503118b9ad703f03b5a;hp=65b68a6fca40db014a81662d15c918a1ca4555ba;hb=ccd23c15fae578be22d48b1a1e8b09cb43d593ae;hpb=30bdb85eb33a8ee7ba675038a86c6be59c43d7bd diff --git a/cinelerra-5.1/guicast/bctumble.C b/cinelerra-5.1/guicast/bctumble.C index 65b68a6f..e95f8abb 100644 --- a/cinelerra-5.1/guicast/bctumble.C +++ b/cinelerra-5.1/guicast/bctumble.C @@ -130,10 +130,9 @@ int BC_Tumbler::repeat_event(int64_t duration) if(duration == top_level->get_resources()->tooltip_delay) { if(tooltip_text && tooltip_text[0] != 0 && - status == TUMBLE_UPHI && !tooltip_done) + status == TUMBLE_UPHI) { show_tooltip(); - tooltip_done = 1; return 1; } } @@ -142,7 +141,8 @@ int BC_Tumbler::repeat_event(int64_t duration) { //printf("BC_Tumbler::repeat_event 2\n"); repeat_count++; - if(repeat_count == 2) return 0; +// delay the 1st repeat + if(repeat_count > 1 && repeat_count < 5) return 0; if(status == TUMBLETOP_DN) { handle_up_event(); @@ -162,7 +162,6 @@ int BC_Tumbler::cursor_enter_event() { if(top_level->event_win == win) { - tooltip_done = 0; if(! top_level->button_down && status == TUMBLE_UP) { status = TUMBLE_UPHI;