RecipeBook icon indicating copy to clipboard operation
RecipeBook copied to clipboard

Despite FPedia being unbinded in controls alt+LMBing a recipe from the machines opens both FP and RB

Open jigsaw3xD opened this issue 1 year ago • 5 comments

Image

Image

jigsaw3xD avatar Feb 24 '25 14:02 jigsaw3xD

I can't reproduce, are you 100% certain that you unbound the recipe book hotkey?

raiguard avatar Feb 24 '25 15:02 raiguard

https://github.com/user-attachments/assets/fb687c0e-3ef8-4c97-9f45-e25ed9de17aa

jigsaw3xD avatar Feb 24 '25 15:02 jigsaw3xD

Oh sorry, I got it backwards.

This is because that button doesn't go through the same code paths in the Factorio engine (it doesn't use alt+click, it just uses regular click). I can't fix it on the mod's side.

raiguard avatar Feb 24 '25 15:02 raiguard

Can you make a mod setting to unbind that click behavior permanently? Or what you're saying is that the click bind is hardcoded?

jigsaw3xD avatar Feb 24 '25 15:02 jigsaw3xD

The click bind is hardcoded in the Factorio engine.

  this->recipeFlow.onClick(this, [this]
  {
    if (this->recipeID)
      Factoriopedia::show(this->context, this->recipeID.baseID);
  });

I will investigate a fix.

raiguard avatar Feb 24 '25 15:02 raiguard