Fix timeline frame buttons
This commit is contained in:
1 parent
adb5f65bc7
commit
16b95b1d81
5 files changed
+1
-11
No files matched your search
File renamed without changes.
Binary file not shown.
@@ -1,10 +0,0 @@
|
|||||||
#!/usr/bin/env xdg-open
|
|
||||||
[Desktop Entry]
|
|
||||||
Name=Tahgibu Animator
|
|
||||||
Comment=Animación 2D cuadro por cuadro, simple y sin marca de agua
|
|
||||||
Exec=python3 %h/.local/share/tahgibu-animator/tahgibu_animator.py
|
|
||||||
Icon=multimedia-animation
|
|
||||||
Terminal=false
|
|
||||||
Type=Application
|
|
||||||
Categories=Graphics;2DGraphics;Video;
|
|
||||||
StartupNotify=true
|
|
||||||
File renamed without changes.
@@ -471,7 +471,7 @@ class TahgibuAnimator:
|
|||||||
|
|
||||||
def timeline_click(self, e):
|
def timeline_click(self, e):
|
||||||
cx = self.timeline.canvasx(e.x)
|
cx = self.timeline.canvasx(e.x)
|
||||||
i = int((cx - 22) // SLOT_W)
|
i = int((cx) // (SLOT_W))
|
||||||
if 0 <= i < len(self.frames):
|
if 0 <= i < len(self.frames):
|
||||||
self.select_frame(i)
|
self.select_frame(i)
|
||||||
|
|
||||||
Reference in new issue
Block a user