|
|
|
|
@ -2,6 +2,7 @@ import { t } from "../services/i18n.js";
|
|
|
|
|
import BasicWidget from "./basic_widget.js";
|
|
|
|
|
import contextMenu from "../menus/context_menu.js";
|
|
|
|
|
import appContext from "../components/app_context.js";
|
|
|
|
|
import utils from "../services/utils.js";
|
|
|
|
|
|
|
|
|
|
const TPL = `<div class="spacer"></div>`;
|
|
|
|
|
|
|
|
|
|
@ -30,7 +31,7 @@ export default class SpacerWidget extends BasicWidget {
|
|
|
|
|
x: e.pageX,
|
|
|
|
|
y: e.pageY,
|
|
|
|
|
items: [
|
|
|
|
|
{title: t("spacer.configure_launchbar"), command: "showLaunchBarSubtree", uiIcon: "bx bx-sidebar"}
|
|
|
|
|
{title: t("spacer.configure_launchbar"), command: "showLaunchBarSubtree", uiIcon: "bx " + (utils.isMobile() ? "bx-mobile" : "bx-sidebar")}
|
|
|
|
|
],
|
|
|
|
|
selectMenuItemHandler: ({command}) => {
|
|
|
|
|
if (command) {
|
|
|
|
|
|