mirror of
https://github.com/pagefaultgames/pokerogue.git
synced 2025-07-29 11:42:21 +02:00
Fixed bug with supportHover and skipped indices in option select ui handler
This commit is contained in:
parent
125b8ba3df
commit
fb6454bbb6
@ -264,7 +264,7 @@ export default abstract class AbstractOptionSelectUiHandler extends UiHandler {
|
|||||||
}
|
}
|
||||||
if (this.config?.supportHover) {
|
if (this.config?.supportHover) {
|
||||||
// handle hover code if the element supports hover-handlers and the option has the optional hover-handler set.
|
// handle hover code if the element supports hover-handlers and the option has the optional hover-handler set.
|
||||||
this.config?.options[this.fullCursor]?.onHover?.();
|
this.config?.options[this.unskippedIndices[this.fullCursor]]?.onHover?.();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user