mirror of
https://github.com/captbaritone/webamp.git
synced 2026-07-18 00:55:54 +00:00
Merge 9227f1d531 into 0882aa7a31
This commit is contained in:
commit
ffed830a3c
1 changed files with 1 additions and 1 deletions
|
|
@ -469,7 +469,7 @@ const WINDOW_HEIGHT = 116;
|
|||
const SHADE_WINDOW_HEIGHT = 14;
|
||||
|
||||
function getWPixelSize(w: WebampWindow, doubled: boolean) {
|
||||
const [width, height] = w.size;
|
||||
const [width, height] = w.size ? w.size : [0,0];
|
||||
const doubledMultiplier = doubled && w.canDouble ? 2 : 1;
|
||||
const pix = {
|
||||
height: WINDOW_HEIGHT + height * WINDOW_RESIZE_SEGMENT_HEIGHT,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue