Changed size of circuit schematic to be the same as old editor
This commit is contained in:
@@ -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) :
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
var schematic_height = 300;
|
||||
var schematic_width = 500;
|
||||
var schematic_height = 480;
|
||||
var schematic_width = 640;
|
||||
|
||||
$(function(){
|
||||
$(document).ready(function() {
|
||||
|
||||
Reference in New Issue
Block a user