Skip to content

Commit

Permalink
feat(ui): reposition combo viewer and keep combo picker open when vie…
Browse files Browse the repository at this point in the history
…wing details
  • Loading branch information
13k committed Jun 11, 2024
1 parent 6f2400a commit c786358
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions content/panorama/styles/custom_game/viewer.css
Original file line number Diff line number Diff line change
Expand Up @@ -40,11 +40,11 @@
}

.Viewer {
horizontal-align: center;
horizontal-align: right;
width: 640px;
height: 840px;
margin-top: 150px;
margin-left: 790px;
margin-top: 80px;
margin-right: 180px;
opacity: 1;
transition-duration: 0s;
transition-property: opacity;
Expand Down
2 changes: 1 addition & 1 deletion src/content/panorama/scripts/custom_game/picker.ts
Original file line number Diff line number Diff line change
Expand Up @@ -179,7 +179,7 @@ class Picker extends Component<PickerElements> {

onComboDetailsShow(payload: PickerComboOutputs["onShowDetails"]): void {
this.debug("onComboDetailsShow()", payload);
this.close();
// this.close();
this.renderViewer(payload.id);
}

Expand Down

0 comments on commit c786358

Please sign in to comment.