From d1b95ce2aeb6c141bfb7251a2d826ef8fb3b3705 Mon Sep 17 00:00:00 2001 From: Unknown Date: Wed, 25 Jul 2018 11:42:15 -0400 Subject: [PATCH] make right click cancel out of pack tabs --- Themes/Til Death/BGAnimations/ScreenBundleSelect underlay.lua | 3 +++ .../Til Death/BGAnimations/ScreenPackDownloader underlay.lua | 3 +++ 2 files changed, 6 insertions(+) diff --git a/Themes/Til Death/BGAnimations/ScreenBundleSelect underlay.lua b/Themes/Til Death/BGAnimations/ScreenBundleSelect underlay.lua index d98a4f0047..372f681b61 100644 --- a/Themes/Til Death/BGAnimations/ScreenBundleSelect underlay.lua +++ b/Themes/Til Death/BGAnimations/ScreenBundleSelect underlay.lua @@ -75,6 +75,9 @@ local o = Def.ActorFrame{ WheelDownSlowMessageCommand=function(self) self:queuecommand("NextPage") end, + MouseRightClickMessageCommand=function(self) + SCREENMAN:GetTopScreen():Cancel() + end, Def.Quad{ InitCommand=function(self) diff --git a/Themes/Til Death/BGAnimations/ScreenPackDownloader underlay.lua b/Themes/Til Death/BGAnimations/ScreenPackDownloader underlay.lua index 9bf6b538c8..e9ba4343ec 100644 --- a/Themes/Til Death/BGAnimations/ScreenPackDownloader underlay.lua +++ b/Themes/Til Death/BGAnimations/ScreenPackDownloader underlay.lua @@ -168,6 +168,9 @@ local o = Def.ActorFrame{ FilterChangedMessageCommand=function(self) self:queuecommand("PackTableRefresh") end, + MouseRightClickMessageCommand=function(self) + SCREENMAN:GetTopScreen():Cancel() + end, Def.Quad{ InitCommand=function(self)