Release OctoBus 1.3.9 with persistent window controls

This commit is contained in:
2026-11-08 23:06:57 -04:00
parent bc8591d764
commit 8c5d96ae01
6 changed files with 159 additions and 27 deletions
+14 -11
View File
@@ -80,7 +80,7 @@ local function Build()
local C = OB.cfg
frame = CreateFrame("Frame", "OctoBusOptions", UIParent)
frame:SetWidth(W + 2 * PAD)
frame:SetHeight(700 + 2 * PAD)
frame:SetHeight(724 + 2 * PAD)
frame:SetPoint("CENTER", UIParent, "CENTER", 0, 60)
frame:SetFrameStrata("DIALOG")
frame:SetClampedToScreen(true)
@@ -156,25 +156,28 @@ local function Build()
end)
end
Heading("Routes", -440)
Check("Open by itself only at route ends", 14, -458, function() return C.zoneOnly end,
Check("Attach to ShaguTweaks world map", 14, -434, function() return C.snapMap end,
function(v) OB.SetSnapMap(v) end)
Heading("Routes", -464)
Check("Open by itself only at route ends", 14, -482, function() return C.zoneOnly end,
function(v) C.zoneOnly = v end)
Check("Show all routes (not just for where you are)", 14, -482, function() return C.full end,
Check("Show all routes (not just for where you are)", 14, -506, function() return C.full end,
function(v) C.full = v OB.Refresh() end)
Check("Show the Sparkwater Port boat", 14, -506, function() return not C.hideBoat end,
Check("Show the Sparkwater Port boat", 14, -530, function() return not C.hideBoat end,
function(v) C.hideBoat = not v OB.Refresh() end)
Check("Share timers with other OctoBus users", 14, -530, function() return C.share end,
Check("Share timers with other OctoBus users", 14, -554, function() return C.share end,
function(v)
C.share = v
if v then JoinChannelByName("OctoBusSync") else LeaveChannelByName("OctoBusSync") end
end)
Heading("Alerts (click a row to put a bell on it)", -562)
Slider("Warn before arrival", -592, 10, 120, 5, function() return C.alert or 45 end,
Heading("Alerts (click a row to put a bell on it)", -586)
Slider("Warn before arrival", -616, 10, 120, 5, function() return C.alert or 45 end,
function(v) C.alert = v end, function(v) return math.floor(v + 0.5) .. " s" end)
Check("Chat message", 14, -614, function() return C.chat end, function(v) C.chat = v end)
Check("Sound", 120, -614, function() return C.sound end, function(v) C.sound = v end)
Check("Flash the minimap icon", 14, -638, function() return C.flash end, function(v) C.flash = v end)
Check("Chat message", 14, -638, function() return C.chat end, function(v) C.chat = v end)
Check("Sound", 120, -638, function() return C.sound end, function(v) C.sound = v end)
Check("Flash the minimap icon", 14, -662, function() return C.flash end, function(v) C.flash = v end)
local reset = CreateFrame("Button", nil, frame, "UIPanelButtonTemplate")
reset:SetWidth(150)