From e063c1d9dd05379ea8c9b9f92f62c98a08a97ca4 Mon Sep 17 00:00:00 2001 From: anekos Date: Mon, 28 Mar 2011 06:28:49 +0900 Subject: move! でも相対指定可能に --- win-mouse.js | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/win-mouse.js b/win-mouse.js index fddb464..096359e 100644 --- a/win-mouse.js +++ b/win-mouse.js @@ -236,7 +236,6 @@ let INFO = API.click(button); }, { - bang: true, completer: function (context, args) { context.title = ['Button']; context.completions = [[it, it] for ([, it] in Iterator('left right middle'.split(' ')))]; @@ -255,7 +254,7 @@ let INFO = if (args.length == 1) y = x; - API.move(x, y, args['-relative']); + API.move(x, y, args['-relative'] || args.bang); }, { bang: true, -- cgit v1.2.3