Salvatore Peluso

Results 25 comments of Salvatore Peluso

Also confirmed on Windows 10. Always displays the context menu. ![2022-05-31 152655](https://user-images.githubusercontent.com/32025549/171184446-6bda03d8-e9a3-4820-a251-f4de98f780ad.png)

This ![](https://user-images.githubusercontent.com/32025549/170070461-4f7788f1-c1f4-4ec5-bced-4a23e0e9ee96.png) It resizes the next icon. The 2 icons have different size because my 16x16 is actually a 15x15 to center the white line.

> It resizes the next icon. > The 2 icons have different size because my 16x16 is actually a 15x15 to center the white line. This is not a bug,...

Just for reminder: To get the scaling factor: ```c# PresentationSource source = PresentationSource.FromVisual(someVisual); double scaleX, scaleY; if (source != null) { scaleX = source.CompositionTarget.TransformToDevice.M11; scaleY = source.CompositionTarget.TransformToDevice.M22; } ``` https://social.msdn.microsoft.com/Forums/vstudio/en-US/e987de11-d5c5-4b0e-abae-a6de64847c38/getting-scale-factor?forum=wpf...

> Not sure about this one. It doesn't seem general-purpose enough to be in `FabricItem`. Maybe not even in Fabric API ? Maybe can be useful to get an enchantability...

@kevinthegreat1 i've changed almost all files, please re-check again for grammar errors.

I have an idea about this, i will push for review tomorrow. - [x] ~Will a method with BlockPos and level be added?~ reworked including this too

#### Brief resume of the last changes (20 September) I've used the previous solution (with a registry instead of injected interfaces), but now there are two registration methods (for dynamic...