Ophir LOJKINE
fa5c5f0969
Fix input type in text tool
6 lat temu
Ophir LOJKINE
3151651f45
Close text edition field when "escape" is pressed
6 lat temu
Ophir LOJKINE
205a17902b
Added keyboard shortcuts
6 lat temu
Ophir LOJKINE
2024899c8e
UI improvements
6 lat temu
Ophir LOJKINE
014f5640b9
Usa passive event listeners
7 lat temu
Ophir LOJKINE
a980fa1b53
Zoom tool: allow zooming with the mouse wheel
7 lat temu
Ophir LOJKINE
72cc16753b
Allow pan-to-zoom on touchscreens
7 lat temu
Ophir LOJKINE
138f93dc60
Make diagonal scrolling smoother on Chrome
7 lat temu
Ophir LOJKINE
1303874595
Avoid accidental zooming
7 lat temu
Ophir LOJKINE
633d74b028
Add support for zoom
Fixes #11
7 lat temu
ophir
48f6c55ea9
Fix bug (invalid object reuse) in tools
7 lat temu
ophir
d16b5c8b97
Make the hand the default tool
I hope this will nudge people towards watching what is already on the board
before starting to draw.
It may encourage people to be constructive.
This is a (very) small step towards #6
7 lat temu
ophir
32c0020dca
Add support for transparency
Closes #5
7 lat temu
Ophir LOJKINE
d75371c958
Use a pathData cache to improve rendering performance
7 lat temu
ophir
4a1474ad9a
Limit the size of text
7 lat temu
Ophir LOJKINE
c7cb8fb989
Fix the erasing tool on touchscreens
7 lat temu
Ophir LOJKINE
b69898a9a6
Avoid flashing text input on page load
7 lat temu
Ophir LOJKINE
3c9bfcbfbf
Reformat code in tools
7 lat temu
Ophir LOJKINE
2786fa4641
Update the pencil tool to work with latest browsers
7 lat temu
Ophir LOJKINE
78bff7c1b9
New tool: rectangle
10 lat temu
Ophir LOJKINE
43370fac3d
Update existing text with the Text tool
10 lat temu
Ophir LOJKINE
b22e5f333b
Make the line tool more reactive
10 lat temu
Ophir LOJKINE
3fce7aaf7f
Fix error in line tool
10 lat temu
Ophir LOJKINE
e944fc3946
Remove dependency to font-awesome
Use Unicode icons instead
10 lat temu
Ophir LOJKINE
276725c138
Remove dependency to font-awesome
Use Unicode icons instead
10 lat temu
Ophir LOJKINE
63b4bb067a
CSS for the line tool
10 lat temu
Ophir LOJKINE
fd9657304f
Add straight line tool
11 lat temu
Ophir LOJKINE
70b1519205
Bug corrections
12 lat temu
Ophir LOJKINE
2257ba473a
Add tool icons
12 lat temu
Ophir LOJKINE
5690bd3cf0
Improve board architecture. Correct several bugs, including messages being drawn twice, and messages not being drawn at all.
12 lat temu
Ophir LOJKINE
fd35a486b8
Rework the way the server stores data to make it handle updates and deletions more intelligentlty.
Some work was done on the client-side too, and board loading should now be much faster.
12 lat temu
Ophir LOJKINE
2c75908461
Hopefully correct a bug where text was not saved. This bug occured at least on firefox for mobile.
12 lat temu
Ophir LOJKINE
40ef0595b7
Correct bug and improve pencil tool. Lines can now be updated.
12 lat temu
Ophir LOJKINE
374ea859b1
My hands are typing words.
Update a constant
12 lat temu
Ophir LOJKINE
b08d6d35f1
Rename 'field' to 'id' in messages.
12 lat temu
Ophir LOJKINE
e75a7d34aa
Log errors with console.error instead of console.log
12 lat temu
Ophir LOJKINE
2ca29d686b
Add a 'var' statement. The variable 'elem' was leaked to the global namespace. Thanks to jshit.
12 lat temu
Ophir LOJKINE
29e699112d
Replace spaces by tabs. Thanks to jshit.
12 lat temu
Ophir LOJKINE
a400b8e097
Remove unused variable. Thanks to jshit.
12 lat temu
Ophir LOJKINE
c3d7ec041b
Make the eraser erase with a single click
12 lat temu
Ophir LOJKINE
1ecc676b2c
Add an eraser tool.
12 lat temu
Ophir LOJKINE
61244d1984
Oops. Forgot to add a function in pencil.js
12 lat temu
Ophir LOJKINE
eeb76318d8
Improve the control point calculation algorithm, in order to have smooth paths that feel even more natural.
12 lat temu
Ophir LOJKINE
f88592d235
Update the pencil tool to make beautiful smooth paths (with bezier curves) instead of polylines.
12 lat temu
Ophir LOJKINE
7b831ab1b5
Display rounded line joins.
12 lat temu
Ophir LOJKINE
2ae4b14710
Change text font to Arial.
12 lat temu
Ophir LOJKINE
34aca4919b
Print the text with the same font on every browser.
12 lat temu
Ophir LOJKINE
134a017095
Use svg polyline element attributes instead of CSS properties to set lines color and width
12 lat temu
Ophir LOJKINE
5bdf54782b
Support touch events. That's the beginning of mobile devices support...
Currently, support is far from being satisfying.
12 lat temu
Ophir LOJKINE
cd1a18589a
Remove the 'delete' instruction. It was only an overhead.
12 lat temu