add binfolder path relative filters, fix gbrp color model, vwdw timebar tweaks, title...
[goodguy/history.git] / cinelerra-5.1 / guicast / bctumble.C
index 65b68a6fca40db014a81662d15c918a1ca4555ba..e95f8abbdc5fedff1c2d6503118b9ad703f03b5a 100644 (file)
@@ -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;