fixes:
- fixed icon saving - slightly improved library layout
This commit is contained in:
parent
096e36a9fa
commit
f8ce9a9945
4 changed files with 35 additions and 13 deletions
|
|
@ -1678,7 +1678,10 @@ function wireEvents() {
|
|||
if (res.ok) refreshConfigIcon()
|
||||
}
|
||||
qs('#gc-icon-auto').addEventListener('click', async () => {
|
||||
applyIconResult(await window.plwl.gamesAutoIcon(state.currentGame.id))
|
||||
// extract from the exe the field shows, not the saved one - the user may
|
||||
// have just pointed the app at another exe and expects its icon
|
||||
const exe = absGamePathInput(qs('#gc-exe').value.trim(), state.currentGame)
|
||||
applyIconResult(await window.plwl.gamesAutoIcon(state.currentGame.id, exe))
|
||||
})
|
||||
qs('#gc-icon-browse').addEventListener('click', async () => {
|
||||
// start in the app's own folder (prefix apps included) - that is where
|
||||
|
|
|
|||
|
|
@ -490,8 +490,8 @@ select {
|
|||
margin: 1rem 0;
|
||||
}
|
||||
.game-card {
|
||||
flex: 1 1 15rem;
|
||||
min-width: 15rem;
|
||||
flex: 1 1 17rem;
|
||||
min-width: 17rem;
|
||||
max-width: 24rem;
|
||||
background: var(--panel-color);
|
||||
border: var(--border-width) solid var(--light-border-color);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue