framework updates

This commit is contained in:
Tercio Jose
2024-05-11 14:46:51 -03:00
parent c031558109
commit 33a0120881
3 changed files with 12 additions and 7 deletions
+7 -6
View File
@@ -902,8 +902,8 @@ local default_profile = {
},
--segments
segments_amount = 40,
segments_amount_to_save = 40,
segments_amount = 25,
segments_amount_to_save = 15,
segments_panic_mode = false,
segments_auto_erase = 1,
@@ -2035,9 +2035,10 @@ function Details:ImportProfile (profileString, newProfileName, bImportAutoRunCod
mythicPlusSettings.mythicrun_chart_frame_minimized = {}
mythicPlusSettings.finished_run_frame = {}
--make the max amount of segments be 30
Details.segments_amount = 40
Details.segments_amount_to_save = 40
--max segments allowed
Details.segments_amount = 25
--max segments to save between sections
Details.segments_amount_to_save = 15
--transfer instance data to the new created profile
profileObject.instances = DetailsFramework.table.copy({}, profileData.instances)
@@ -2105,7 +2106,7 @@ function Details.ShowImportProfileConfirmation(message, callback)
checkboxLabel:SetJustifyH("left")
promptFrame.checkboxLabel = checkboxLabel
local buttonTrue = detailsFramework:CreateButton(promptFrame, nil, 60, 20, "Okey", nil, nil, nil, nil, nil, nil, options_dropdown_template)
local buttonTrue = detailsFramework:CreateButton(promptFrame, nil, 60, 20, "Okay", nil, nil, nil, nil, nil, nil, options_dropdown_template)
buttonTrue:SetPoint("bottomright", promptFrame, "bottomright", -10, 5)
promptFrame.button_true = buttonTrue