Skip to content

Commit d802272

Browse files
committed
Draw source image on top of output
1 parent e3f3cca commit d802272

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

types/GraphicsOutput.bmx

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -178,6 +178,9 @@ Type GraphicsOutput
178178
Else
179179
Cls()
180180

181+
Local vertOffsetFromSource:Int = (m_SourceImageSize[1] * m_InputZoom) + 34
182+
m_LimbManager.DrawBentLimbs(New SVec2I(100, vertOffsetFromSource), m_FrameCount)
183+
181184
SetColor(m_Magenta[0], m_Magenta[1], m_Magenta[2])
182185
DrawRect(0, 0, GraphicsWidth(), (m_SourceImageSize[1] * m_InputZoom) + 1) 'Extend the source image magenta strip all the way to the right and adjust height to input zoom
183186
Utility.ResetDrawColor()
@@ -186,9 +189,6 @@ Type GraphicsOutput
186189
m_LimbManager.DrawTileOutlines()
187190
m_LimbManager.DrawJointMarkers()
188191

189-
Local vertOffsetFromSource:Int = (m_SourceImageSize[1] * m_InputZoom) + 34
190-
m_LimbManager.DrawBentLimbs(New SVec2I(100, vertOffsetFromSource), m_FrameCount)
191-
192192
Local drawColor:Int[] = [255, 230, 80]
193193
Utility.DrawTextWithShadow("Arm FG", New SVec2I(10, vertOffsetFromSource), drawColor)
194194
Utility.DrawTextWithShadow("Arm BG", New SVec2I(10, vertOffsetFromSource + 50 - 2), drawColor)

0 commit comments

Comments
 (0)