elm button theme - fix anchor style to not pass events when disabled

@fix
parent 1433d66b
......@@ -482,13 +482,9 @@ group { name: "elm/button/base/anchor";
}
}
parts {
spacer { "base";
rect { "base";
desc { "default";
rel1.offset: 0 0;
rel2.offset: 0 0;
}
desc { "clicked";
inherit: "default";
color: 0 0 0 0;
}
}
rect { "icon_clip";
......@@ -688,7 +684,6 @@ group { name: "elm/button/base/anchor";
}
program { name: "button_click_anim";
action: STATE_SET "clicked" 0.0;
target: "base";
target: "bar2";
target: "text2";
}
......@@ -699,14 +694,12 @@ group { name: "elm/button/base/anchor";
}
program { name: "button_unclick_anim";
action: STATE_SET "default" 0.0;
target: "base";
target: "bar2";
target: "text2";
}
program {
signal: "elm,anim,activate"; source: "elm";
action: STATE_SET "clicked" 0.0;
target: "base";
target: "bar2";
target: "text2";
after: "button_unpressed_anim";
......@@ -714,7 +707,6 @@ group { name: "elm/button/base/anchor";
program { name: "button_unpressed_anim";
action: STATE_SET "default" 0.0;
in: 0.5 0.0;
target: "base";
target: "bar2";
target: "text2";
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment