Skip to content

Commit

Permalink
removed runtime reference
Browse files Browse the repository at this point in the history
  • Loading branch information
gwaredd committed Nov 9, 2019
1 parent 0e066ab commit dc63eb1
Show file tree
Hide file tree
Showing 23 changed files with 39 additions and 40 deletions.
8 changes: 3 additions & 5 deletions Editor/Mischief.MDV.Editor.asmdef
Original file line number Diff line number Diff line change
@@ -1,8 +1,7 @@
{
"name": "Mischief.MDV.Editor",
"references": [
"Mischief.MDV.Runtime"
],
"references": [],
"optionalUnityReferences": [],
"includePlatforms": [
"Editor"
],
Expand All @@ -11,6 +10,5 @@
"overrideReferences": false,
"precompiledReferences": [],
"autoReferenced": true,
"defineConstraints": [],
"versionDefines": []
"defineConstraints": []
}
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
3 changes: 2 additions & 1 deletion Editor/Scripts/MarkdownViewer.cs
Original file line number Diff line number Diff line change
Expand Up @@ -106,14 +106,15 @@ public void Draw()
var rectFullScreen = new Rect( 0.0f, rectContainer.yMin - 4.0f, Screen.width, Screen.height );
GUI.DrawTexture( rectFullScreen, EditorGUIUtility.whiteTexture, ScaleMode.StretchToFill, false );

Debug.Log( rectContainer.width );

// scroll window

var padLeft = 8.0f;
var padRight = 4.0f;
var padHoriz = padLeft + padRight;
var scrollWidth = GUI.skin.verticalScrollbar.fixedWidth;
var minWidth = rectContainer.width - scrollWidth - padHoriz;
var minWidth = rectContainer.width - scrollWidth - padHoriz - 200.0f;
var maxHeight = ContentHeight( minWidth );

var hasScrollbar = maxHeight >= rectContainer.height;
Expand Down
4 changes: 2 additions & 2 deletions Tests/Editor/EdgeCases/markdown.markdown.meta

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit dc63eb1

Please sign in to comment.