framework updates
This commit is contained in:
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user