Browse Source

Move thumbnailClip back to resize

master
jeffvli 3 years ago
committed by Jeff
parent
commit
c243458110
  1. 10
      src/main.dev.js

10
src/main.dev.js

@ -234,6 +234,16 @@ const createWindow = async () => {
} }
}); });
mainWindow.on('resize', () => {
// Set the current song image as thumbnail
mainWindow.setThumbnailClip({
x: 15,
y: mainWindow.getContentSize()[1] - 83,
height: 65,
width: 65,
});
});
mainWindow.on('resized', () => { mainWindow.on('resized', () => {
const window = mainWindow.getContentBounds(); const window = mainWindow.getContentBounds();

Loading…
Cancel
Save