Skip to content

Commit 602fa13

Browse files
committed
fix for unity 2020
1 parent 73dc46b commit 602fa13

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Editor/Scripts/MarkdownViewer.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -74,13 +74,13 @@ Layout ParseDocument()
7474

7575
//------------------------------------------------------------------------------
7676

77-
#if UNITY_2019
77+
#if !UNITY_2018
7878
private float mHeight = 1.0f;
7979
#endif
8080

8181
protected Rect GetEditorRect()
8282
{
83-
#if UNITY_2019
83+
#if !UNITY_2018
8484

8585
// calculate working space
8686
if( Event.current.type == EventType.Layout )

0 commit comments

Comments
 (0)