3
0
mirror of https://github.com/Qortal/Brooklyn.git synced 2025-02-23 15:45:53 +00:00
2022-04-02 18:24:21 +05:00

27 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";
}