Release Kaleido Desktop 0.1.0-beta.12
All checks were successful
Validate Kaleido Desktop / validate (push) Successful in 1m22s
All checks were successful
Validate Kaleido Desktop / validate (push) Successful in 1m22s
On Windows the miniplayer is now a window of its own (mini.rs, mini.html): a borderless window owned by the main one that the video moves into (VideoSurface::set_host swaps composition targets in one commit). Dragging moves the whole window, so video and controls move together with no edge flicker; release glides it to the nearest corner or the one it's flicked towards, remembered, and it follows the main window. Its page mirrors the player over events (mini:state / mini:action). Shown and hidden natively without activation, so the main window keeps focus. macOS keeps the in-page miniplayer. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
parent
c3d2f4b6a7
commit
8ed44c2fe4
22 changed files with 871 additions and 26 deletions
17
src/mini/types.ts
Normal file
17
src/mini/types.ts
Normal file
|
|
@ -0,0 +1,17 @@
|
|||
/** What the miniplayer window shows, sent from the main window (src/player/miniWindow.ts). */
|
||||
export interface MiniState {
|
||||
title: string;
|
||||
subtitle: string;
|
||||
paused: boolean;
|
||||
ended: boolean;
|
||||
position: number;
|
||||
duration: number;
|
||||
loading: boolean;
|
||||
buffering: boolean;
|
||||
error: boolean;
|
||||
}
|
||||
|
||||
/** Buttons and gestures in the miniplayer window, carried out by the main window's player. */
|
||||
export type MiniAction = 'ready' | 'toggle' | 'back' | 'forward' | 'expand' | 'close';
|
||||
|
||||
export const MINI_CORNER_KEY = 'kaleido.miniCorner';
|
||||
Loading…
Add table
Add a link
Reference in a new issue