Skip to content

Commit

Permalink
enable rich text support, version bump, repo: ignore zips
Browse files Browse the repository at this point in the history
  • Loading branch information
hashashin committed Oct 4, 2015
1 parent ee5e6b3 commit 4274146
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 5 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -156,3 +156,4 @@ $RECYCLE.BIN/
.DS_Store
GameData/notes/Plugins/notes.dll
GameData/notes/Plugins/notesRPM.dll
*.zip
4 changes: 2 additions & 2 deletions notes/Properties/AssemblyInfo.cs
Original file line number Diff line number Diff line change
Expand Up @@ -31,5 +31,5 @@
// Puede especificar todos los valores o establecer como predeterminados los números de compilación y de revisión
// mediante el carácter '*', como se muestra a continuación:
// [assembly: AssemblyVersion("1.0.*")]
[assembly: AssemblyVersion("0.12.0.0")]
[assembly: AssemblyFileVersion("0.12.0.0")]
[assembly: AssemblyVersion("0.12.1.0")]
[assembly: AssemblyFileVersion("0.12.1.0")]
10 changes: 7 additions & 3 deletions notes/notes.cs
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// -------------------------------------------------------------------------------------------------
// notes.cs 0.12
// notes.cs 0.12.1
//
// Simple KSP plugin to take notes ingame.
// Copyright (C) 2015 Iván Atienza
Expand Down Expand Up @@ -497,8 +497,12 @@ private void NotesWindow(int windowId)
_scrollViewVector = GUI.BeginScrollView(new Rect(0f, 25f, 420f, 380f), _scrollViewVector,
new Rect(0f, 0f, 400f, 5300f));
// Configurable font size, independent from the skin.
GUIStyle _myStyle = new GUIStyle(GUI.skin.textArea) { fontSize = _fontSize };
_text = GUI.TextArea(new Rect(3f, 0f, 400f, 5300f), _text, _myStyle);
GUIStyle myStyle = new GUIStyle(GUI.skin.textArea)
{
fontSize = _fontSize,
richText = true
};
_text = GUI.TextArea(new Rect(3f, 0f, 400f, 5300f), _text, myStyle);
GUI.EndScrollView();
// Show the actual note file name.
_file = GUI.TextField(new Rect(5f, 410f, 150f, 20f), _file);
Expand Down

0 comments on commit 4274146

Please sign in to comment.