mirror of
https://github.com/game-stop/veejay.git
synced 2025-12-22 15:50:01 +01:00
do not reload entry when fx anim panel is active
This commit is contained in:
@@ -2878,7 +2878,7 @@ chain_update_row(GtkTreeModel * model, GtkTreePath * path, GtkTreeIter * iter,
|
|||||||
gchar *descr = _utf8str( _effect_get_description( effect_id ));
|
gchar *descr = _utf8str( _effect_get_description( effect_id ));
|
||||||
char tmp[128];
|
char tmp[128];
|
||||||
if( _effect_get_mix( effect_id ) ) {
|
if( _effect_get_mix( effect_id ) ) {
|
||||||
snprintf(tmp,sizeof(tmp),"%s %d", (gui->uc.entry_tokens[ENTRY_SOURCE] == 0 ? "S" : "T" ),
|
snprintf(tmp,sizeof(tmp),"%s %d", (gui->uc.entry_tokens[ENTRY_SOURCE] == 0 ? "Sample " : "T " ),
|
||||||
gui->uc.entry_tokens[ENTRY_CHANNEL]);
|
gui->uc.entry_tokens[ENTRY_CHANNEL]);
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
@@ -6056,9 +6056,13 @@ static void update_globalinfo(int *history, int pm, int last_pm)
|
|||||||
}
|
}
|
||||||
|
|
||||||
if( pm != MODE_PLAIN ) {
|
if( pm != MODE_PLAIN ) {
|
||||||
|
GtkWidget *ww = glade_xml_get_widget_( info->main_window, crappy_design[ui_skin_].name );
|
||||||
|
int deckpage = gtk_notebook_get_current_page(GTK_NOTEBOOK(ww));
|
||||||
|
if(deckpage != 1) {
|
||||||
if( (reload_entry_tick_ % ((int)info->el.fps/2))==0) {
|
if( (reload_entry_tick_ % ((int)info->el.fps/2))==0) {
|
||||||
info->uc.reload_hint[HINT_ENTRY] = 1;
|
info->uc.reload_hint[HINT_ENTRY] = 1;
|
||||||
}
|
}
|
||||||
|
}
|
||||||
reload_entry_tick_++;
|
reload_entry_tick_++;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user