Calculator UI


This mod adds a calculator with advanced controls to the UI.

Utilities
24 days ago
0.18 - 2.0
57.9K

i Toggle option

3 years ago

Hi,

I really like your mod, it's very useful.
My only complain is for doing a quick calcul.

I bind the "Open calculator" to a button in my mouse, and I wish I could open the calculator with my shortcut, do my calcul and click again on my shortcut to close the calculator.
And don't need to click on the "X" button.

Thx, bye :)

3 years ago

Hi,

Yeah I see your point, but the shortcut is also used when the calculator is open to focus on the input.

So I think I could do this:
- When the calculator is not opened, open it with the SHORTCUT (CTRL-SHIFT-C by Default)
- When the calculator is not in foreground, but open, get the focus to the input with SHORTCUT
- When the focus is on the input, close it with SHORTCUT

Sounds good?

3 years ago

Hi,

I guess that is not possible ... since the API doesn't allow me to know if the input-field is in focus --> https://forums.factorio.com/viewtopic.php?f=221&t=92021

So the only thing I can do is give you a setting for you to decide which behavior you want.

Kind regards,
Wichu

3 years ago

Hi,

I uploaded the new version 1.1.1 (only compatible with Factorio Version 1.1).

Kind regards,
Wichu

3 years ago

wow, it's perfect, thank you for adding this so fast :D

This thread has been locked.