Skip to content

Commit 39f4662

Browse files
committed
fix another visual bug in quest gui
previously, the "accept" button was still its normal width even if you can only accept the quest. this fixes that issue.
1 parent 4481131 commit 39f4662

1 file changed

Lines changed: 6 additions & 0 deletions

File tree

src/patches/quest.ts

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -163,6 +163,12 @@ export function patch(plugin: MwRandomizer) {
163163

164164
buttonGroup.removeFocusGui(0, 1);
165165
buttonGroup.addFocusGui(this.declineButton, 1, 0);
166+
},
167+
168+
setAcceptMode(buttonGroup: sc.ButtonGroup) {
169+
this.parent(buttonGroup);
170+
171+
this.hook.size.x = 142;
166172
}
167173
});
168174

0 commit comments

Comments
 (0)