UNPKG

@woosh/meep-engine

Version:

Pure JavaScript game engine. Fully featured and production ready.

15 lines (14 loc) 495 B
import LabelView from "../../../../view/common/LabelView.js"; import {CSS_ABSOLUTE_POSITIONING} from "../../../../view/CSS_ABSOLUTE_POSITIONING.js"; export function createKeyCoordinateLabelView() { return new LabelView("", { css: { ...CSS_ABSOLUTE_POSITIONING, zIndex: 1000, background: `rgba(0, 0, 0, 0.4)`, padding: '4px 6px', color: 'white', font: '12px Tahoma, monospaced' } }); }