comparison Editor.lua @ 261:5694618cef7f

Make Activate On Down apply immediately rather than on next load
author Flick
date Fri, 06 May 2011 15:49:02 -0700
parents c918ff9ac787
children c27596828276
comparison
equal deleted inserted replaced
259:c918ff9ac787 261:5694618cef7f
258 clickDown = { 258 clickDown = {
259 type = "toggle", 259 type = "toggle",
260 name = L["Activate on Down"], 260 name = L["Activate on Down"],
261 desc = L["Activate the button when the key or mouse button is pressed down instead of when it is released"], 261 desc = L["Activate the button when the key or mouse button is pressed down instead of when it is released"],
262 order = 3, 262 order = 3,
263 set = function(info, value) bar:GetConfig().clickDown = value end, 263 set = function(info, value) bar:GetConfig().clickDown = value; ReAction:RebuildAll() end,
264 get = function() return bar:GetConfig().clickDown end, 264 get = function() return bar:GetConfig().clickDown end,
265 }, 265 },
266 anchor = { 266 anchor = {
267 type = "group", 267 type = "group",
268 name = L["Anchor"], 268 name = L["Anchor"],