From 95a320e9188a330d0a66acc05ee333cf65cdd6d0 Mon Sep 17 00:00:00 2001 From: 1029chris <1029chris@gmail.com> Date: Thu, 4 Aug 2016 17:46:14 -0700 Subject: Notification now opens chat app --- panel.lua | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'panel.lua') 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) -- cgit