some fixes to remove warnings
This commit is contained in:
+1
-2
@@ -24,6 +24,7 @@ QtObject {
|
|||||||
readonly property int border_width: 2
|
readonly property int border_width: 2
|
||||||
|
|
||||||
readonly property string font: "CodeNewRoman Nerd Font"
|
readonly property string font: "CodeNewRoman Nerd Font"
|
||||||
|
readonly property string jfont: "CodeNewRoman Nerd Font"
|
||||||
|
|
||||||
function big_font_size(value) {
|
function big_font_size(value) {
|
||||||
return value * 0.6
|
return value * 0.6
|
||||||
@@ -56,8 +57,6 @@ QtObject {
|
|||||||
readonly property int reload_interval: 10000
|
readonly property int reload_interval: 10000
|
||||||
readonly property int fast_reload_interval: 1000
|
readonly property int fast_reload_interval: 1000
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
function maxTextWidth(maxNum, texts) {
|
function maxTextWidth(maxNum, texts) {
|
||||||
let maxWidth = 0;
|
let maxWidth = 0;
|
||||||
|
|
||||||
|
|||||||
@@ -94,7 +94,7 @@ PanelWindow {
|
|||||||
function switchModeChooser() {
|
function switchModeChooser() {
|
||||||
all_invisible()
|
all_invisible()
|
||||||
languageChooser.visible = true
|
languageChooser.visible = true
|
||||||
languageChooser.start()
|
// languageChooser.start()
|
||||||
}
|
}
|
||||||
|
|
||||||
function switch_KanaVoicing() {
|
function switch_KanaVoicing() {
|
||||||
|
|||||||
@@ -64,7 +64,7 @@ PanelWindow {
|
|||||||
border.width: 1
|
border.width: 1
|
||||||
}
|
}
|
||||||
|
|
||||||
Keys.onReleased: {
|
Keys.onReleased: (event) => {
|
||||||
if (event.key === Qt.Key_Escape) {
|
if (event.key === Qt.Key_Escape) {
|
||||||
console.log("Escape pressed inside TextField")
|
console.log("Escape pressed inside TextField")
|
||||||
console.log("Pressed Escape, closing Wallpaper Picker")
|
console.log("Pressed Escape, closing Wallpaper Picker")
|
||||||
|
|||||||
Reference in New Issue
Block a user