resolving comments
This commit is contained in:
parent
3b8f048111
commit
6c06e9f42c
@ -1,10 +1,7 @@
|
||||
-- context menu to manually fix rotation
|
||||
function onLoad()
|
||||
self.addContextMenuItem("rotate preview", rotatePreview)
|
||||
self.addContextMenuItem("rotate card+preview", function()
|
||||
self.setRotationSmooth(self.getRotation() + Vector(0, 180, 0))
|
||||
rotatePreview()
|
||||
end)
|
||||
self.addContextMenuItem("Rotate Preview", rotatePreview)
|
||||
self.addContextMenuItem("Rotate Card + Preview", rotateSelfAndPreview)
|
||||
end
|
||||
|
||||
-- rotates the alt_view_angle
|
||||
@ -17,3 +14,9 @@ function rotatePreview()
|
||||
end
|
||||
self.alt_view_angle = angle
|
||||
end
|
||||
|
||||
-- rotates this card and the preview
|
||||
function rotateSelfAndPreview()
|
||||
self.setRotationSmooth(self.getRotation() + Vector(0, 180, 0))
|
||||
rotatePreview()
|
||||
end
|
||||
|
Loading…
x
Reference in New Issue
Block a user