Перейти к содержимому
Mineforgian

Option Focus Fix

Fixes a bug introduced in 1.19.4, which made options stay focused even if you don't hover over them after clicking.

Загрузки
9K
Подписчики
17
Обновлён
1 апреля 2026 г.
Лицензия
MIT

Опубликован 3 апреля 2023 г.

In 1.19.4, Mojang added yet another Bug.

When you click an option, it will set focused. But for some reason it doesn't get unfocused whenever you stop hovering over it. This Mod fixes this.

Only Downside: It seems like it breaks the feature that allows you to tab between options, but i highly doubt anyone uses it. and if you do, it shouldn't introduce this bug in the first place.
The 1.3.0-Rewrite Fixes this issue, along with adding an new method to do the stuff, which works more reliable

Ченджлог

1.6.0Релиз26.1, 26.1.1 · 1 апреля 2026 г.
  • Merge Pull Request from CommandGenius:
    • Update to 26.1 / 26.1.1
  • Bump version to 1.6.0
1.5.0Релиз1.21.9, 1.21.10, 1.21.11 · 11 октября 2025 г.

Merge Pull Request from CommandGenius:

  • Update to 1.21.9+
  • Bump version to 1.5.0
1.4.0Релиз1.21.4 · 4 декабря 2024 г.
  • Merge Pull Request from CommandGenius:
    • Update to 1.21.4
  • Bump version to 1.4.0
1.3.2Релиз1.20.6, 1.21, 1.21.1 · 4 сентября 2024 г.
  • Merge Pull Request from CommandGenius:
    • Don't unfocus text fields on click.
  • Rename some methods, because i was stupid back then (still am tho).
1.3.1Релиз1.20.6, 1.21, 1.21.1 · 30 августа 2024 г.
  • Merge Pull Request from CommandGenius:
    • Now Options are unfocused slightly earlier, which should result in it being identical to how it was pre 1.19.4.
    • This also fixes a bug where opening a new screen won't unfocus the button that opened the new screen.
1.3.0Релиз1.20.4, 1.21, 1.21.1 · 2 ноября 2023 г.

Rewrite:

  • Now applies unfocusing on the elements directly on click/release, instead of running in the render-method. Improves performance, and fixes an issue where elements were automatically unfocused whenever you move your mouse from them, especially annoying on text fields.
1.2.1Релиз1.20, 1.20.1, 1.20.2 · 11 июня 2023 г.

Removed unnecessary accesswidener & fix startup-error by updating loom to 1.2. Shouldn't happen at all, but here's some info from the fabric-discord if you care: https://imgur.com/FN2LqqN

1.2Релиз1.20 · 10 июня 2023 г.

NOTE: This version is broken, it'll crash on startup. It was fixed in 1.2.1. I'll only leave it up because i don't like deleting stuff.

Updated to 1.20

Комментарии

Загружаем…