aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
author1029chris <1029chris@gmail.com>2016-08-04 17:46:14 -0700
committer1029chris <1029chris@gmail.com>2016-08-04 17:46:14 -0700
commit95a320e9188a330d0a66acc05ee333cf65cdd6d0 (patch)
tree4926ad041f2a79a4655daea35095b10987926b9a
parent28198c3a1788578072a67cc6104aa18577b7db41 (diff)
Notification now opens chat app
-rw-r--r--panel.lua8
1 files changed, 8 insertions, 0 deletions
diff --git a/panel.lua b/panel.lua
index 4c52135..55ad193 100644
--- a/panel.lua
+++ b/panel.lua
@@ -105,6 +105,14 @@ function drawNoti()
elseif notify.op ~= 0 and notify.yes == false then
notify.op = notify.op - 17
end
+ if mouseClick(notify.x,notify.y,250,113) == true then
+ if win[1].ex == true then
+ win[1].ex = false
+ win[1].s = 0.2
+ end
+ win[1].oldlayer = win[1].layer
+ layer.sentToFront = 1
+ end
end
end
function timeNoti(dt)