Changed size of circuit schematic to be the same as old editor

This commit is contained in:
Bridger Maxwell
2012-04-09 15:25:55 -04:00
parent 6c44d00ab0
commit a431ad19c7
2 changed files with 3 additions and 3 deletions

View File

@@ -65,7 +65,7 @@ class CircuitLink(markdown.inlinepatterns.Pattern):
def handleMatch(self, m):
data = m.group('data')
data = escape(data)
return etree.fromstring("<div align='center'><input type='hidden' parts='' value='" + data + "' analyses='' class='schematic ctrls' width='500' height='300'/></div>")
return etree.fromstring("<div align='center'><input type='hidden' parts='' value='" + data + "' analyses='' class='schematic ctrls' width='640' height='480'/></div>")
def makeExtension(configs=None) :

View File

@@ -1,5 +1,5 @@
var schematic_height = 300;
var schematic_width = 500;
var schematic_height = 480;
var schematic_width = 640;
$(function(){
$(document).ready(function() {