dionyziz / Automata

An editor for deterministic finite automata
http://automata.discrete.gr
51 stars 12 forks source link

Fixed issue #22 by removing gradient fill and shadows for states #44

Closed DmitryMyadzelets closed 9 years ago

DmitryMyadzelets commented 9 years ago

That's the simplest way the issue may bi fixed. Surely, the filling style can be configured, but that would be other task.

dionyziz commented 9 years ago

This sounds like a good fix. Could you provide a screenshot for the change before/after for comparison and reference purposes? Thanks!

DmitryMyadzelets commented 9 years ago

This picture shows how an automaton looked before the change (left) and after it (right). The colors are preserved. As you can seen, there is almost no difference, but there is huge performance improvement of rendering time. You can see it especially while dragging a state. At the picture the state 's' is selected, and the mouse pointer is over the state 'q1' - shadow remains as before to make it consistent with mouse-over behavior when the mouse pointer is over an edge arrow. When edges are dragged, there are no shadows. issue 22 - before and after

dionyziz commented 9 years ago

@DmitryMyadzelets Thanks! Have a beer @changetip

changetip commented 9 years ago

Hi @dmitrymyadzelets, @dionyziz sent you a Bitcoin tip worth a beer (11,208 bits/$3.50), and I'm here to deliver it ➔ collect your tip.

Learn more about ChangeTip

DmitryMyadzelets commented 9 years ago

Thanks!