aerothemeplasma/plasma/shells/org.kde.plasma.desktop/contents/activitymanager/static.js
2024-08-09 03:20:25 +02:00

26 lines
574 B
JavaScript

/* vim:set foldmethod=marker:
SPDX-FileCopyrightText: 2015 Ivan Cukic <ivan.cukic(at)kde.org>
SPDX-License-Identifier: GPL-2.0-or-later
*/
.pragma library
var currentlyHoveredActivityItem = null
function showActivityItemActionsBar(
activityItem
)
{
if (activityItem == currentlyHoveredActivityItem) {
return;
}
if (currentlyHoveredActivityItem != null) {
currentlyHoveredActivityItem.state = "plain"
}
currentlyHoveredActivityItem = activityItem;
currentlyHoveredActivityItem.state = "showingControls";
}