theme/scroller: don't "check" bar positions randomly in other programs

Summary:
this should be correctly triggered from the widget in order to avoid
recursive program/calc loops

Reviewers: cedric

Reviewed By: cedric

Subscribers: cedric, #reviewers, #committers

Tags: #efl_widgets

Differential Revision: https://phab.enlightenment.org/D9680
This commit is contained in:
Mike Blumenkrantz 2019-08-23 13:22:24 -04:00
parent 81962dfa1b
commit 235e2dbed0
1 changed files with 0 additions and 14 deletions

View File

@ -313,7 +313,6 @@ group { name: "efl/scroller";
target: "y_vbar_down";
target: "arrow1_vbar_indent";
target: "arrow2_vbar_indent";
after: "check_pos_vbar";
}
program {
signal: "efl,action,hide,vbar"; source: "efl";
@ -378,11 +377,6 @@ group { name: "efl/scroller";
action_on_pos_vbar(10);
}
}
program { name: "check_pos_vbar";
script {
action_on_pos_vbar(10);
}
}
program { name: "loop_set_vbar";
signal: "efl,loop_y,set"; source: "efl";
script {
@ -600,7 +594,6 @@ group { name: "efl/scroller";
target: "x_hbar_right";
target: "arrow1_hbar_indent";
target: "arrow2_hbar_indent";
after: "check_pos_hbar";
}
program {
signal: "efl,action,hide,hbar"; source: "efl";
@ -653,13 +646,11 @@ group { name: "efl/scroller";
signal: "mouse,down,1*"; source: "sb_hbar_p1";
action: DRAG_VAL_PAGE -1.0 0.0;
target: "efl.dragable.hbar";
after: "check_pos_hbar";
}
program {
signal: "mouse,down,1*"; source: "sb_hbar_p2";
action: DRAG_VAL_PAGE 1.0 0.0;
target: "efl.dragable.hbar";
after: "check_pos_hbar";
}
program {
signal: "efl,action,scroll"; source: "efl";
@ -667,11 +658,6 @@ group { name: "efl/scroller";
action_on_pos_hbar(10);
}
}
program { name: "check_pos_hbar";
script {
action_on_pos_hbar(10);
}
}
program { name: "loop_set_hbar";
signal: "efl,loop_x,set"; source: "efl";
script {