Files
DndGamePlayer/app/renderer/shared/tokens/SceneTokensOverlay.module.css
T
Ivan Fontosh 1ab6ffd593 feat(tokens): animated paths for scene and NPC tokens
Add path editor window, session playback on control/presentation, and RMB controls. Fix live pose clock so motion no longer freezes after ~250ms.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-08-14 08:48:41 +08:00

41 lines
747 B
CSS

.layer {
position: absolute;
inset: 0;
pointer-events: none;
/* Выше brushLayer (3) и traps (5), ниже explosion (7) — drag должен стабильно ловиться. */
z-index: 8;
}
.token {
position: absolute;
border-radius: 8px;
border: 1px solid rgba(255, 255, 255, 0.25);
background: rgba(0, 0, 0, 0.2);
overflow: hidden;
pointer-events: none;
touch-action: none;
box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.3);
}
.tokenEditable {
pointer-events: auto;
cursor: grab;
}
.tokenEditable:active {
cursor: grabbing;
}
.tokenInteractive {
pointer-events: auto;
cursor: context-menu;
}
.tokenImg {
width: 100%;
height: 100%;
object-fit: contain;
display: block;
pointer-events: none;
}