This commit is contained in:
朱子楚\zhuzi
2023-10-15 17:24:33 +08:00
parent 332c0ee54e
commit 939e04e4ca
9 changed files with 66 additions and 4 deletions

View File

@ -59,6 +59,23 @@ FluScrollablePage{
}
}
FluArea{
Layout.fillWidth: true
Layout.topMargin: 20
height: 50
paddings: 10
FluCheckBox{
text:"V-Sync"
checked: FluApp.vsync
anchors.verticalCenter: parent.verticalCenter
onClicked: {
FluApp.vsync = !FluApp.vsync
dialog_restart.open()
}
}
}
FluArea{
Layout.fillWidth: true
Layout.topMargin: 20
@ -74,13 +91,13 @@ FluScrollablePage{
}else{
SettingsHelper.saveRender("software")
}
dialog_render.open()
dialog_restart.open()
}
}
}
FluContentDialog{
id:dialog_render
id:dialog_restart
title:"友情提示"
message:"此操作需要重启才能生效,是否重新启动?"
buttonFlags: FluContentDialogType.NegativeButton | FluContentDialogType.PositiveButton