Commit 7b362480 authored by Koichi Yasuoka's avatar Koichi Yasuoka
Browse files

bug fix

parent 0b47e46c
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
// CoNLL-U SVG Edit by Koichi Yasuoka, January 23, 2019.
// CoNLL-U SVG Edit by Koichi Yasuoka, July 6, 2019.
// "conllusvgview.js" is needed.
"use strict";
conllusvg.edit=function(svg,textid,deprelid,uposid,xposid){
@@ -474,7 +474,7 @@ conllusvg.checkXpos=function(textid){
      k++;
    }
  }
  if(k>2){
  if(k>1){
    g.size=(c.xpos.size<k)?c.xpos.size:k;
    conllusvg.writeSelect(textid,g,"xpos");
  }