mirror of
https://github.com/arcan1s/awesome-widgets.git
synced 2025-12-16 10:03:40 +00:00
massive qml edit
This commit is contained in:
@ -36,13 +36,13 @@ HtmlEditorButton {
|
||||
|
||||
clickedEvent: function() {
|
||||
// get new font
|
||||
var defaultFont = {
|
||||
const defaultFont = {
|
||||
"color": defaultFontColor,
|
||||
"family": defaultFontFamily,
|
||||
"size": defaultFontSize
|
||||
}
|
||||
// we are using custom selector as soon as we need to select color as well
|
||||
var font = awActions.getFont(defaultFont)
|
||||
const font = awActions.getFont(defaultFont)
|
||||
|
||||
// check status
|
||||
if (!font.applied)
|
||||
|
||||
Reference in New Issue
Block a user