pintora icon indicating copy to clipboard operation
pintora copied to clipboard

empty else case not handled.

Open jomaway opened this issue 1 year ago • 2 comments

if i end in and if case with an empty else case i have a break in the diagram. See screenshot

Would expect to get a line from the gültig to the small diamond.

partition Noten_einlesen {
  start
      :read input string from user;
      :split string on ',';
      while (iter liste) is (next)
        :note in int umwandeln;
        :note überprüfen;
        if (gültig) then
            :print error;
            end
        else (no)
        endif
      endwhile (done)
      :return liste;

  end

}

Bildschirmfoto vom 2024-05-07 17-33-12

jomaway avatar May 07 '24 15:05 jomaway

I'm not sure if it's a web app cache thing, you may try cmd+shift+R - on OSX , I'm sure windows browser has something similar - to force refresh the page. I do remember that I fixed this some months ago, raised in a similar issue.

Here's my screenshot on the live-editor , the else line does show. image

But hey! When I paste all your example code into the live-editor, an even more bizare layout bug strikes me , I need to fix this, thank you for the example. image

hikerpig avatar May 10 '24 12:05 hikerpig

I used the online live editor. And now i get the same weird connections as in your screenshot

jomaway avatar May 20 '24 19:05 jomaway

The strange line corner is fixed in @pintora/[email protected] , the website live editor is also updated.

hikerpig avatar Jun 16 '24 13:06 hikerpig