mirror of
https://github.com/captbaritone/webamp.git
synced 2026-01-23 02:15:01 +00:00
Merge 9227f1d531 into 2fe3235d51
This commit is contained in:
commit
a150c9e63d
1 changed files with 1 additions and 1 deletions
|
|
@ -467,7 +467,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