Flip buttons don't use the center of rotation when the center of rotation is not visible
<!-- See our full bug reporting guidelines at https://inkscape.org/contribute/report-bugs/ Writing a good bug report will ensure we'll be able to help efficiently. 🙂 --> #### Summary: <!-- Summarize the issue/suggestion concisely: --> When the select tool is chosen the tool controls bar has 4 buttons, one rotates the shape 90-deg counter clockwise, one rotates the shape 90-deg clockwise, one flips it horizontally and one flips is vertically. Rotation buttons always use the center of the rotation. Flip buttons do not use it when it is not visible. I believe it is not the intended behavior as the rotate buttons always use the center of rotation. #### Steps to reproduce: <!-- Describe what you did (step-by-step) so we can reproduce: --> - Draw a rectangle - Select the rectangle with the selection tool. Click one more on the rectangle so that the rotation handles and the center of rotation is visible. - Drag the center of rotation handle to the right bottom corner. - While the center of rotation is still visible, click on one of the flip buttons on the tool controls bar. You will see it is using the center of the rotation. - Now deselect the object and select it again. But do not click on it again. This time only scaling handles must be visible. - Click on one of the flip buttons. You will see no change as the flip button use the original center of the shape. #### What happened? - While the center of rotation is not visible the button uses the default center of the shape as the flipping axis. #### What should have happened? - The flip button should have used the center of rotation as the flip axis. Sample attachments: <!-- Attach the sample file(s) highlighting the issue, if appropriate. --> #### Version info <!-- Open 'Help > About' and click on the little bug icon in the bottom right corner that copies the debug information to your clipboard. For command line users, run 'inkscape --debug-info'. For Inkscape 1.0.2 and older, please manually add the Inkscape Version and Operating System Version. The Inkscape version is listed in the About dialog. For command line users, run 'inkscape -V' Paste the information in the empty space between the apostrophes below: --> ``` I tried it with both v1.0.1 and v1.1 OS: Win 8.1 Pro 64-bit ``` <!-- ❤️ Thank you for filling in a new bug report, we appreciate the help! ❤️ Please be patient while we try to find the time to look into your issue. Remember that Inkscape is developed by volunteers in their spare time, we'll try our best to respond to all reports. --> <!-- Please be careful when/after writing # for example in logs, code, or versions of linux - use inline code span - single backticks (`) before and after it, like this - `inbox#1618` - use multi-line code block - triple backticks (```) to fence/enclose console logs - attach long logs as a text file. -->
issue