RibbonMessageGroup: Add the missing 'rounded' property for 'showMessage()'.

This commit is contained in:
Mentalflow 2024-08-06 02:58:10 +08:00
parent 01e20c3fd3
commit c53aa3b927
Signed by: Mentalflow
GPG Key ID: 5AE68D4401A2EE71
2 changed files with 8 additions and 2 deletions

View File

@ -218,7 +218,8 @@ RibbonBlur {
Window.window.messageBar = control
}
function showMessage(type, text, actionALabel, actionBLabel, externalURL, externalURLLabel, disableMultiline){
function showMessage(type, text, actionALabel, actionBLabel, externalURL,
externalURLLabel, disableMultiline, rounded){
let item = {}
if(type)
item['type'] = type
@ -234,6 +235,8 @@ RibbonBlur {
item['externalURLLabel'] = externalURLLabel
if(disableMultiline)
item['disableMultiline'] = disableMultiline
if(rounded)
item['rounded'] = rounded
messageModel.append(item)
}

View File

@ -218,7 +218,8 @@ RibbonBlur {
Window.window.messageBar = control
}
function showMessage(type, text, actionALabel, actionBLabel, externalURL, externalURLLabel, disableMultiline){
function showMessage(type, text, actionALabel, actionBLabel, externalURL,
externalURLLabel, disableMultiline, rounded){
let item = {}
if(type)
item['type'] = type
@ -234,6 +235,8 @@ RibbonBlur {
item['externalURLLabel'] = externalURLLabel
if(disableMultiline)
item['disableMultiline'] = disableMultiline
if(rounded)
item['rounded'] = rounded
messageModel.append(item)
}