From a0f9a6390af88495f3b8b1b76052c40e091999d6 Mon Sep 17 00:00:00 2001 From: Marcus Poeckelmann <marcus.poeckelmann@informatik.uni-halle.de> Date: Tue, 20 Feb 2024 14:11:25 +0100 Subject: [PATCH] v2.7.1: reduced space of zebra stripes for fadeouts --- README | 2 +- catview.js | 8 ++++---- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/README b/README index 3798376..445944e 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 0d36300..817389e 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); } -- GitLab