This website requires JavaScript.
Explore
Help
Sign In
Mirrors
/
whitebophir
Watch
2
Star
0
Fork
You've already forked whitebophir
0
mirror of
https://github.com/lovasoa/whitebophir
synced
2024-11-10 06:24:17 +00:00
Code
Issues
Projects
Releases
Packages
Wiki
Activity
master
whitebophir
/
client-data
/
tools
/
ellipse
/
ellipse.css
4 lines
34 B
CSS
Raw
Permalink
Normal View
History
Unescape
Escape
Add an ellipse and circle tool (#40) * Added Circle tool as alternative function of Rectangle tool * change toggle function to work with new icon structure and toggle name * split circle into separate tool and added ellipse as secondary function. Also added server side rendering for svg export * change ellipse to be default * change circle behaviour to same as inkscape * toggle to alternative while holding shift * append to drawing area instead of svg root * don't update shape after it has been drawn * Stop logging all rectangles * Remove es6 * Remove more es6 * Fix a few bugs with circle to ellipse toggling * Calculate the circle params at creation time, not at rendering time * Make the behavior of the shift key consistent When shift is pressed, the current function is reversed: the circle tool draws an ellipse and the ellipse tool draws a circle. This makes the tool easier to grasp. * Add required translations * german translation * Update the shape immediately when pressing shift * Fix server-side ellipse rendering * Add a test for the circle tool Co-authored-by: Robert Beach <rdbeach@gmail.com> Co-authored-by: Ophir LOJKINE <pere.jobs@gmail.com>
2020-05-03 15:53:44 +00:00
#
canvas
ellipse
{
Formatting and Add formatting to CI workflow (#292) * Add prettier formatting feature and also add it as a job in CI.yml file * Update CI.yml file * Add format job to CI.yml file * Fix formatting issues in CI workflow file
2023-11-25 00:37:05 +00:00
fill
:
none
;
Add an ellipse and circle tool (#40) * Added Circle tool as alternative function of Rectangle tool * change toggle function to work with new icon structure and toggle name * split circle into separate tool and added ellipse as secondary function. Also added server side rendering for svg export * change ellipse to be default * change circle behaviour to same as inkscape * toggle to alternative while holding shift * append to drawing area instead of svg root * don't update shape after it has been drawn * Stop logging all rectangles * Remove es6 * Remove more es6 * Fix a few bugs with circle to ellipse toggling * Calculate the circle params at creation time, not at rendering time * Make the behavior of the shift key consistent When shift is pressed, the current function is reversed: the circle tool draws an ellipse and the ellipse tool draws a circle. This makes the tool easier to grasp. * Add required translations * german translation * Update the shape immediately when pressing shift * Fix server-side ellipse rendering * Add a test for the circle tool Co-authored-by: Robert Beach <rdbeach@gmail.com> Co-authored-by: Ophir LOJKINE <pere.jobs@gmail.com>
2020-05-03 15:53:44 +00:00
}
Reference in a new issue
Copy permalink