Summary: | JJ: Resize arrows doesn't flip when transforming while using mirror view | ||
---|---|---|---|
Product: | [Applications] krita | Reporter: | Chris Cotish <dirxteam> |
Component: | Tools/Transform | Assignee: | Krita Bugs <krita-bugs-null> |
Status: | RESOLVED FIXED | ||
Severity: | minor | CC: | dimula73, halla |
Priority: | NOR | ||
Version: | 2.8 Beta | ||
Target Milestone: | --- | ||
Platform: | Microsoft Windows | ||
OS: | All | ||
Latest Commit: | http://commits.kde.org/calligra/60cd9bd1fe7b94c21a914ab7b9de2bbd2434977a | Version Fixed In: | |
Sentry Crash Report: | |||
Attachments: |
Fix resize arrows in Mirror Mode
Fix resize arrows in tranform tool |
Description
Chris Cotish
2014-02-12 12:01:36 UTC
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 |