You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
desc="Import Best Times from the M+ WA. This is only possible until Pre-Patch hits.",
231
250
func=function()
@@ -263,23 +282,7 @@ local GeneralOptions = {
263
282
name="General Options",
264
283
order=1,
265
284
args= {
266
-
Preview= {
267
-
type="execute",
268
-
order=1,
269
-
name="Preview",
270
-
desc="Show a preview of the Display, this also unlocks the Frame so you can move it around",
271
-
func=function()
272
-
ifnotMPT.IsPreviewthen-- not currently in preview
273
-
MPT:Init(true) -- Frame is set to movable in here as well
274
-
elseifC_ChallengeMode.IsChallengeModeActive() then-- in preview and currently in m+ so we display real states
275
-
MPT:Init(false)
276
-
MPT:MoveFrame(false)
277
-
elseifMPT.FrameandMPT.Frame:IsShown() then-- in preview but not in m+ so we hide the frame
278
-
MPT:MoveFrame(false)
279
-
MPT:ShowFrame(false)
280
-
end
281
-
end,
282
-
},
285
+
Preview=PreviewButton,
283
286
FrameStrata=MPT:CreateDropDown(2, {["BACKGROUND"] ="BACKGROUND", ["LOW"] ="LOW", ["MEDIUM"] ="MEDIUM", ["HIGH"] ="HIGH", ["DIALOG"] ="DIALOG", ["FULLSCREEN"] ="FULLSCREEN", ["FULLSCREEN_DIALOG"] ="FULLSCREEN_DIALOG", ["TOOLTIP"] ="TOOLTIP"}, "Frame Strata", "Strata of the entire Display. High is the default because this makes it appear above the options window.", "FrameStrata", true),
284
287
Gap=MPT:CreateSpace(3),
285
288
Scale=MPT:CreateRange(4, "Group Scale", "Scale of the entire Display", 0.1, 3, 0.01, "Scale", true),
0 commit comments