aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorCarsten Haitzler (Rasterman) <raster@rasterman.com>2016-07-25 16:23:45 +0900
committerCarsten Haitzler (Rasterman) <raster@rasterman.com>2016-07-25 16:23:45 +0900
commitd10348802de09dc078930a4c3ad7652a3fcb7a9a (patch)
tree546e5228a0357d80681d2bc58330d830eda0488f
parentelm button default theme - fix disabled events to not pass through (diff)
downloadefl-d10348802de09dc078930a4c3ad7652a3fcb7a9a.tar.gz
elm button theme - fix anchor style to not pass events when disabled
@fix
-rw-r--r--data/elementary/themes/edc/elm/button.edc12
1 files changed, 2 insertions, 10 deletions
diff --git a/data/elementary/themes/edc/elm/button.edc b/data/elementary/themes/edc/elm/button.edc
index 3ddd0b8e8b..052893110f 100644
--- a/data/elementary/themes/edc/elm/button.edc
+++ b/data/elementary/themes/edc/elm/button.edc
@@ -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";
}