Commit 862b77a1 by Bridger Maxwell

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

parent c81953a9
......@@ -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) :
......
var schematic_height = 300;
var schematic_width = 500;
var schematic_height = 480;
var schematic_width = 640;
$(function(){
$(document).ready(function() {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment