fix problems with fractions
authormmahringer <s1520454056@students.fh-hagenberg.at>
Mon, 18 Sep 2017 19:50:34 +0200
changeset 5217812150bbcc9d
parent 5216 a23bca3a94bd
child 5218 e24b47393001
fix problems with fractions
isac-java/src/java/isac/gui/mawen/editor/BoxUtil.scala
     1.1 --- a/isac-java/src/java/isac/gui/mawen/editor/BoxUtil.scala	Tue Sep 12 15:39:03 2017 +0200
     1.2 +++ b/isac-java/src/java/isac/gui/mawen/editor/BoxUtil.scala	Mon Sep 18 19:50:34 2017 +0200
     1.3 @@ -21,7 +21,8 @@
     1.4  
     1.5    def draw(box : DrawBox, g: Graphics) : Unit = box.name match {
     1.6      case "GAP"                         => drawGap(g, box) 
     1.7 -    case "CURSOR"                      => drawCursor(g, box)
     1.8 +    case "CURSOR"                      => drawCursor(g, box) 
     1.9 +    case "Fields.inverse_class.divide" => drawFraction(g, box) //TODOWN "/"
    1.10      case ""                            => {
    1.11        drawFrame(box, g)
    1.12        box.children.foreach( draw(_, g) )