mirror of
https://github.com/KDE/latte-dock.git
synced 2025-01-12 17:17:50 +03:00
fix typo
This commit is contained in:
parent
e3d16ca81e
commit
1f7d2d0c5a
@ -51,7 +51,7 @@ AbilityDefinition.ThinTooltip {
|
||||
|
||||
//! Private Implementation
|
||||
|
||||
onShowIsBlockedChanged: {
|
||||
onShowIsBlockedChanged: {
|
||||
if (!showIsBlocked && !_tooltipDialog.visible && _thinTooltip.currentVisualParent) {
|
||||
_hideTimer.stop();
|
||||
_tooltipDialog.visible = true;
|
||||
@ -68,7 +68,7 @@ AbilityDefinition.ThinTooltip {
|
||||
_thinTooltip.currentVisualParent = visualParent;
|
||||
_tooltipDialog.visualParent = visualParent;
|
||||
|
||||
var fixedDisplayText = text.length>maxCharacters ? displayText.substring(0,maxCharacters-1) + "..." : text;
|
||||
var fixedDisplayText = text.length>maxCharacters ? text.substring(0,maxCharacters-1) + "..." : text;
|
||||
_thinTooltip.currentText = fixedDisplayText;
|
||||
|
||||
if (!_tooltipDialog.visible && isEnabled && !showIsBlocked) {
|
||||
|
Loading…
Reference in New Issue
Block a user