Corner resize arrows are shown wrongly when transforming while using mirror view. They should be facing the other way when the view is mirrored. Reproducible: Always Steps to Reproduce: 1. Select Transform a layer or selection 2. Enable Mirror View 3. Hover over one of 4 corner till diagonal arrows icon shows up Actual Results: Icon is not flipped like it should be. Windows 8
Ha, yes! Well spotted!
Created attachment 86189 [details] Fix resize arrows in Mirror Mode Patch aims to fix the resize arrows when in mirror mode. Any suggestions on improving the code is welcome.
Hi, Koushik! Your patch is ok, except the new public method of KisCanvas2. You need to either call the method of the coordinatesConverter() directly from the transform tool (which is ok, see the code of KisPaintopTransformationConnector), or extend the interface of KisCanvasController, which is in charge of the transformations of the canvas. If you choose the latter method, please also note that the canvas also supports vertical mirroring transformation, so choose naming accordingly :)
Created attachment 86294 [details] Fix resize arrows in tranform tool I've made some changes as you requested.
Git commit 60cd9bd1fe7b94c21a914ab7b9de2bbd2434977a by Dmitry Kazakov. Committed on 03/05/2014 at 05:07. Pushed by dkazakov into branch 'master'. Fix Transfrom Tool arrows on mirrored canvas Thanks Koushik S for preparing this patch! CCMAIL:skoushik333@gmail.com M +10 -1 krita/plugins/tools/tool_transform2/kis_tool_transform.cc http://commits.kde.org/calligra/60cd9bd1fe7b94c21a914ab7b9de2bbd2434977a