theme - improve transparency msg formatting with brackets

This commit is contained in:
Carsten Haitzler 2014-07-21 18:16:22 +09:00
parent c029c9fe9b
commit 96b43d79dd
1 changed files with 6 additions and 6 deletions

View File

@ -114,9 +114,9 @@ collections {
public message(Msg_Type:type, id, ...) {
new r, g, b, a, v;
if (type != MSG_INT || id != 1) return;
if ((type != MSG_INT) || (id != 1)) return;
v = getarg(2) * 255 / 100;
v = (getarg(2) * 255) / 100;
custom_state(PART:"fade", "default", 0.0);
get_state_val(PART:"fade", STATE_COLOR, r, g, b, a);
@ -216,9 +216,9 @@ collections {
public message(Msg_Type:type, id, ...) {
new r, g, b, a, v;
if (type != MSG_INT || id != 1) return;
if ((type != MSG_INT) || (id != 1)) return;
v = getarg(2) * 255 / 100;
v = (getarg(2) * 255) / 100;
custom_state(PART:"shadow", "default", 0.0);
get_state_val(PART:"shadow", STATE_COLOR, r, g, b, a);
@ -2609,9 +2609,9 @@ target: "0.clip"; target: "1.clip"; target: "2.clip"; target: "3.clip"; target:
public message(Msg_Type:type, id, ...) {
new r, g, b, a, v;
if (type != MSG_INT || id != 1) return;
if ((type != MSG_INT) || (id != 1)) return;
v = getarg(2) * 255 / 100;
v = (getarg(2) * 255) / 100;
custom_state(PART:"shadow", "default", 0.0);
get_state_val(PART:"shadow", STATE_COLOR, r, g, b, a);