Skip to content

Commit

Permalink
At some point renpy.display.motion.Transform moved to renpy.display.t…
Browse files Browse the repository at this point in the history
…ransform.Transform
  • Loading branch information
CensoredUsername committed Feb 18, 2024
1 parent 577c32e commit da61f2e
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions decompiler/sl2decompiler.py
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@
from renpy.ast import PyExpr
from renpy.text import text
from renpy.sl2 import sldisplayables as sld
from renpy.display import layout, behavior, im, motion, dragdrop
from renpy.display import layout, behavior, im, motion, dragdrop, transform

# Main API

Expand Down Expand Up @@ -297,7 +297,7 @@ def print_displayable(self, ast, has_block=False):
(sld.sl2bar, None): ("bar", 0),
(ui._label, "label"): ("label", 0),
(ui._textbutton, 0): ("textbutton", 0),
(ui._textbutton, "button"): ("textbutton", 0),
(ui._textbutton, "button"): ("textbutton", 0),
(ui._imagebutton, "image_button"): ("imagebutton", 0),
(im.image, "default"): ("image", 0),
(behavior.Input, "input"): ("input", 0),
Expand All @@ -308,6 +308,7 @@ def print_displayable(self, ast, has_block=False):
(dragdrop.Drag, None): ("drag", 1),
(dragdrop.Drag, "drag"): ("drag", 1),
(motion.Transform, "transform"): ("transform", 1),
(transform.Transform, "transform"):("transform", 1),
(ui._hotspot, "hotspot"): ("hotspot", 1),
(sld.sl2viewport, "viewport"): ("viewport", 1),
(behavior.Button, "button"): ("button", 1),
Expand Down

0 comments on commit da61f2e

Please sign in to comment.