Merge commit '419d2bb' into monospace

This commit is contained in:
Wikinaut 2011-11-17 20:39:04 +01:00
commit 66a9798615
3 changed files with 10 additions and 0 deletions

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.3 KiB

After

Width:  |  Height:  |  Size: 2.7 KiB

Before After
Before After

View file

@ -122,6 +122,10 @@ var padeditbar = (function()
else if (cmd == 'save')
{
padsavedrevs.saveNow();
}
else if (cmd == 'tglfont')
{
pad.changeViewOption('useMonospaceFont', !(pad.padOptions.view&&pad.padOptions.view.useMonospaceFont));
}
else
{

View file

@ -76,6 +76,12 @@
<div class="buttonicon" style="background-position:0px -86px"></div>
</a>
</li>
<li class="separator"></li>
<li onClick="window.pad&&pad.editbarClick('tglfont');return false;" >
<a id="monospace" title="toggle the font between monospace and normal">
<div class="buttonicon" style="background-position:0px -436px"></div>
</a>
</li>
</ul>
<ul id="menu_right">