openshot.code team mailing list archive
-
openshot.code team
-
Mailing list archive
-
Message #00230
[Branch ~openshot.code/openshot/main] Rev 595: Fixed a bug that caused the visual indication of the razor mode to be reset to arrow mode if a tr...
------------------------------------------------------------
revno: 595
fixes bug: https://launchpad.net/bugs/892767
committer: Andy Finch <we.rocked.in79@xxxxxxxxx>
branch nick: openshot
timestamp: Wed 2011-11-30 22:07:42 +0000
message:
Fixed a bug that caused the visual indication of the razor mode to be reset to arrow mode if a transition was clicked with the razor, even though the razor mode was still active.
modified:
openshot/classes/transition.py
--
lp:openshot
https://code.launchpad.net/~openshot.code/openshot/main
Your team OpenShot Code is subscribed to branch lp:openshot.
To unsubscribe from this branch go to https://code.launchpad.net/~openshot.code/openshot/main/+edit-subscription
=== modified file 'openshot/classes/transition.py'
--- openshot/classes/transition.py 2011-01-06 21:19:56 +0000
+++ openshot/classes/transition.py 2011-11-30 22:07:42 +0000
@@ -417,6 +417,9 @@
# determine what cursor mode is enable (arrow, razor, snap, etc...)
(isArrow, isRazor, isSnap, isResize) = self.parent.parent.project.form.get_toolbar_options()
+ if isRazor:
+ return None
+
if isArrow:
# get new parent track
drop_track = self.get_valid_drop(item.get_bounds().x1, item.get_bounds().y1)