Skip to content

Commit

Permalink
fix for unity 2020
Browse files Browse the repository at this point in the history
  • Loading branch information
gwaredd committed Aug 8, 2020
1 parent 73dc46b commit 602fa13
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Editor/Scripts/MarkdownViewer.cs
Original file line number Diff line number Diff line change
Expand Up @@ -74,13 +74,13 @@ Layout ParseDocument()

//------------------------------------------------------------------------------

#if UNITY_2019
#if !UNITY_2018
private float mHeight = 1.0f;
#endif

protected Rect GetEditorRect()
{
#if UNITY_2019
#if !UNITY_2018

// calculate working space
if( Event.current.type == EventType.Layout )
Expand Down

0 comments on commit 602fa13

Please sign in to comment.