mirror of
https://gitgud.io/wackyideas/aerothemeplasma.git
synced 2024-08-15 00:43:43 +00:00
26 lines
574 B
JavaScript
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";
|
|
}
|
|
|