• 0

    posted a message on Ace3 Slider
    Now that you mention it... I'm not sure why I didn't just do that.
    Also, that fixed my problem. Not sure how that was causing them though.

    But anyway, thanks!
    Posted in: AddOn HELP!
  • 0

    posted a message on Ace3 Slider
    Hello, I've been spending the last few hours trying to figure out why my slider REFUSES to be set at values >255. It saves the values correctly and shows it correctly in the little textbox below it, but the slider itself just sets itself to 0 whenever the value is >255.
    X is doing everything as intended, but Y just sets the slider to 0 even though the selected value is still 600. (Just to be clear, neither of them are working as intended, I just set X to <255 as an example)


    These are the AceConfig options
    options = {
    	type = 'group',
    	args = {
    		X = {
    			name = 'X',
    			order = 4,
    			type = 'range',
    			min = 0,
    			max = 1920,
    			set = function(info, input) self.db.global.SoulShards.X = math.floor(input+.5) end,
    			get = function(info) return self.db.global.SoulShards.X end
    		},
    		Y = {
    			name = 'Y',
    			order = 5,
    			type = 'range',
    			min = 0,
    			max = 1280,
    			set = function(info, input) self.db.global.SoulShards.Y = math.floor(input+.5) end,
    			get = function(info) return self.db.global.SoulShards.Y end
    		}
    	}
    }

    Fairly new to the whole addon creation thing :D
    Posted in: AddOn HELP!
  • To post a comment, please or register a new account.