diff --git a/README b/README index 37983765fdff749ca08a13825a7fc79d7327139f..445944e120658e8039842ecbf35b8acb29b81524 100644 --- a/README +++ b/README @@ -1,6 +1,6 @@ Thank you for using CATview - the Colored & Aligned Texts view. -This is version 2.7 +This is version 2.7.1 For information about the features and usage of CATview, please visit: https://catview.uzi.uni-halle.de diff --git a/catview.js b/catview.js index 0d36300044bf10334eea5ec1eace10428287a24d..817389e3f3ae118f3d301047aa47a1eacc57f868 100644 --- a/catview.js +++ b/catview.js @@ -22,7 +22,7 @@ SOFTWARE. */ -// CATview - the Colored & Aligned Texts view - version 2.7 +// CATview - the Colored & Aligned Texts view - version 2.7.1 const CATview = new function() { this.debug = false; @@ -31,7 +31,7 @@ const CATview = new function() { if(CATview.debug) console.log('CATview.initialize'); - CATview.version = '2.7'; + CATview.version = '2.7.1'; // id of the parent container that will include CATview CATview.parent_id = 'CATview'; @@ -886,11 +886,11 @@ const CATview = new function() { let width, height; if(CATview.vertical){ - height = CATview.height_svg - CATview.space_for_tool_icons; + height = CATview.height_svg - CATview.space_for_tool_icons - 2; width = Math.floor(CATview.width_content / CATview.names.length * 0.5) } else { - width = CATview.width_svg - CATview.space_for_tool_icons; + width = CATview.width_svg - CATview.space_for_tool_icons - 2; height = Math.floor(CATview.height_content / CATview.names.length * 0.5); }