Anton Lavrenov
9571ae0804
Merge branch 'master' of github.com:konvajs/konva into master
2020-10-12 08:49:33 -05:00
Anton Lavrenov
64373c7eac
fix ts iterations
2020-10-12 08:49:18 -05:00
moonrailgun
4389b156bf
fix miss type of dragBoundFunc
2020-10-09 11:11:29 +08:00
Anton Lavrenov
58f18c268a
fix event trigger flow. close #989
2020-09-25 09:49:00 -05:00
Anton Lavrenov
6fffed9e70
a bit better performance
2020-09-17 14:35:46 -05:00
Anton Lavrenov
6cb86685f7
text rendering fixes
2020-09-17 09:39:15 -05:00
Anton Lavrenov
fa33896e6b
revert perf fix
2020-09-14 14:30:03 -05:00
Anton Lavrenov
9bd68eacf1
Some performance fixes and optimizations
2020-09-14 13:41:32 -05:00
Anton Lavrenov
4b69631782
Better unicode support in Konva.Text
and Konva.TextPath
. Emoji should work better now 👍 . fix #690
2020-09-14 09:46:26 -05:00
Anton Lavrenov
40d68ea6e8
update rotation of transformer automatically. close #976
2020-09-07 10:40:23 -05:00
Anton Lavrenov
4a29a1e109
dragstart
fixes when transformer is used
2020-09-02 12:50:41 -05:00
Anton Lavrenov
1634103d0e
better stage drag performance
2020-08-21 12:09:58 -05:00
Anton Lavrenov
cc7c6edd1f
some fixes
2020-08-12 14:15:57 -05:00
Anton Lavrenov
2eb1043e98
Merge branch 'addAnimationOptionInterface' of https://github.com/risingBirdSong/konva into risingBirdSong-addAnimationOptionInterface
2020-08-12 14:03:15 -05:00
Anton Lavrenov
55107920bd
cache fixes
2020-08-08 09:24:31 -05:00
Anton Lavrenov
dd84716715
performance updates
2020-07-30 10:44:15 -05:00
Anton Lavrenov
b5e7362d26
update CHANGELOG with new version
2020-07-09 16:50:50 -05:00
risingbirdsong
56ff555fdb
added animation option interface to replace type any. tested various options out with the .to method and the options i included in the interface were the ones that were clearly animating, excluded options that seemed to have no animation effect. included offset y and x because they do animate, though they may not be appropriate in the interface. not exhaustive, may be missing options which should be included.
2020-06-30 12:22:34 -07:00
Anton Lavrenov
910273f2c6
update CHANGELOG with new version
2020-06-29 12:14:39 -05:00
Anton Lavrenov
d62645609d
more performance fixes
2020-06-23 17:22:28 -05:00
Anton Lavrenov
f664606b8f
dragmove
will trigger on Transformer and when all nodes are moved. fix #928
2020-06-18 16:41:54 -05:00
Anton Lavrenov
0fe8e7fb7f
perf optimizations
2020-06-16 16:20:36 -05:00
Anton Lavrenov
e22a98d656
perf fixes, transformer events
2020-06-16 12:16:53 -05:00
Anton Lavrenov
1d8388eead
performance optimizations
2020-06-10 11:57:48 -05:00
Anton Lavrenov
2b58f38a93
smaller code, ts fixes
2020-06-02 12:16:44 -05:00
Anton Lavrenov
ee99044baa
remove inherit
from listening property, deprecate FastLayer, font fixes.
2020-05-14 11:13:47 -05:00
Nathan Muir
bf1b4a91e9
Make Node#isVisible() consistent with drawing behaviour
...
Remove the "inherit" value from Node#visible(), and treat `true` similar to "inherit".
Fixes konvajs/konva#906
2020-05-13 11:55:36 +12:00
Anton Lavrenov
d5481b1b72
prettier
2020-05-08 09:59:35 -05:00
Anton Lavrenov
e7e2efe230
update CHANGELOG with new version
2020-04-22 19:20:44 -05:00
Anton Lavrenov
8937741c31
fix some transformer bugs
2020-04-10 16:00:25 -05:00
Anton Lavrenov
2423ec261b
fix transformer on parent transform change. close #834
2020-04-08 17:27:18 -05:00
Anton Lavrenov
d297cec70b
Memory usage optimizations when a node is cached. close #887
2020-04-08 16:03:26 -05:00
Anton Lavrenov
1427cf0efc
cleaning
2020-04-07 08:46:50 -05:00
Anton Lavrenov
185c599257
initial support for multiple nodes for Konva.Transformer
2020-04-02 10:01:31 -05:00
Anton Lavrenov
010729dc19
some type fixes. close #869
2020-03-29 07:45:39 -05:00
Anton Lavrenov
65e06f200e
Fix some issues with mouseenter
and mouseleave
events. fix #875
2020-03-18 09:41:36 -05:00
Anton Lavrenov
e315a5bac4
change a message a bit
2020-02-25 20:39:43 -05:00
Anton Lavrenov
c6e38c55a1
better error messages
2020-02-25 19:22:46 -05:00
Anton Lavrenov
6fbe48e583
allow cloning id
2020-02-17 19:51:18 -05:00
Anton Lavrenov
86f847a702
Fix wrong internal caching of absolute attributes. fix #843
2020-02-10 08:22:07 -05:00
Anton Lavrenov
1c85a7ee26
fix cursor on anchors for rotated parent. fix#837
2020-01-30 11:41:05 -05:00
Anton Lavrenov
65eeb13d66
fix cache with float dimensions. fix #798
2019-11-28 11:51:40 -05:00
Anton Lavrenov
ca1ccdaf82
performance update
2019-11-20 13:39:02 -05:00
Anton Lavrenov
d82c11ea95
Better calculations for container.getClientRect()
2019-10-21 10:12:10 -05:00
Anton Lavrenov
0669b24cf9
Warn on undefined return value of dragBoundFunc
. close #764
2019-10-18 14:09:49 -05:00
Anton Lavrenov
80c674eb1f
Fix globalCompositeOperation + cached hit detections. close #759
2019-10-10 15:52:00 -05:00
Anton Lavrenov
7909283e3d
fix absolute position calculations for cached parent. close #753
2019-10-08 15:20:22 -05:00
naqtn
97dc4b6143
Fix doc of Node.getAbsoluteScale()
return type
2019-09-17 19:58:32 +09:00
Evan Patterson
28700e1904
Selector parameter in findAncestor(s) is not optional
2019-09-12 16:13:37 -07:00
Evan Patterson
cc28960daa
Fix typings in signatures of findAncestor(s)
...
In TypeScript, optional arguments must be declared as such.
2019-09-11 10:53:45 -07:00
Anton Lavrenov
f16434d6d8
Fix drag position handling. close #739
2019-09-10 12:08:36 -05:00
Anton Lavrenov
c3f4e53be5
fix multiple selector for find() method. close #735
2019-09-09 10:55:17 -05:00
Anton Lavrenov
57d9917b62
fix dragstart bug. close #708
2019-08-12 17:33:27 +07:00
Anton Lavrenov
04968c3b51
Fix nested dragging bug. close #71
2019-08-12 08:42:50 +07:00
Anton Lavrenov
d191e21cc3
Add node.isCached()
method
2019-08-10 16:41:54 +07:00
Anton Lavrenov
61b46658bc
Fixed node.startDrag()
behavior. We can call it at any time.
2019-08-08 11:13:55 +07:00
Anton Lavrenov
519bd94a7c
prepare new version. Update docs.
2019-08-05 13:54:08 +07:00
Anton Lavrenov
34f0f4ae33
drag&drop multitouch
2019-08-04 14:38:57 +07:00
Anton Lavrenov
1d932bf76c
better mulitouch
2019-08-04 09:41:57 +07:00
Anton Lavrenov
b798a56bff
types fixes, konva-node updates
2019-07-11 04:59:39 +07:00
Anton Lavrenov
4e489321f8
ts fixes
2019-06-18 15:29:07 -05:00
Yingjie Liu
55dbae92f0
fix node registe event function type issue
...
KonvaEventListener will get a NodeEventMap entity, not NodeEventMap Key
2019-06-04 20:20:57 +08:00
Jason Quense
4dd2a60b55
fix(pointer-events): fix possible undefined stage error
...
Sometimes a shape may not have a stage associated with it? I was hitting this in our app. I also cleaned up the event types a bit and added the pointer methods to Stage to be consistent with the other types
2019-05-30 17:11:31 -04:00
Anton Lavrenov
2315f542f7
Add new property imageSmoothingEnabled
to the node caching
2019-05-30 12:56:24 -05:00
Anton Lavrenov
9529dc2071
ts fixes
2019-05-29 16:26:22 -05:00
Anton Lavrenov
8698f020cc
ts fixes
2019-05-29 11:36:07 -05:00
Anton Lavrenov
8252804373
Add new property imageSmoothingEnabled
to the layer. some ts fixes.
2019-05-28 15:39:08 -05:00
Anton Lavrenov
2cf73f7654
cleanup
2019-05-27 14:46:52 -05:00
Anton Lavrenov
41549507e9
Merge pull request #600 from VladimirTechMan/master
...
Improvements to Node
2019-05-27 14:45:45 -05:00
Anton Lavrenov
da11cf8b01
Merge branch 'wip-pointer-events' of https://github.com/jquense/konva into jquense-wip-pointer-events
2019-05-27 14:39:17 -05:00
Anton Lavrenov
b4902595e0
types fixes
2019-05-11 07:56:55 -05:00
Anton Lavrenov
e6282bf73a
typescript fixes
2019-04-17 10:45:47 -05:00
Jason Quense
9645c5c063
add tests
2019-04-10 10:28:42 -04:00
Jason Quense
10b21689ba
WIP
2019-04-10 08:59:22 -04:00
Anton Lavrenov
a6122178c6
transformer warning, typescript fixes
2019-04-08 12:17:26 -05:00
Anton Lavrenov
49ceea1dfc
fix some stage evetns. close #627
2019-04-03 20:28:48 -05:00
Dmitry221060
6b64522e57
Additional fixes
2019-03-25 22:06:57 +05:00
Dmitry221060
277021c9b6
Update Node.ts
2019-03-25 21:51:41 +05:00
Anton Lavrenov
f9c60c99e1
fix hasName
method for empty name cases
2019-03-21 07:43:58 -05:00
Anton Lavrenov
0e87ded7ba
update CHANGELOG with new version
2019-03-18 14:18:03 -05:00
Anton Lavrenov
e150791f97
huge typescript fixes, remove Object.assign usage
2019-03-10 10:31:13 -05:00
VladimirTechMan
43ac41e3e2
Improvements to Node
...
Adding a few TypeScript type annotations related to Transform, plus
re-using the existing local parent reference when calculating the
Node's absolute opacity.
2019-03-09 14:42:51 +03:00
Anton Lavrenov
e88a485458
better modules
2019-03-06 22:19:32 -05:00
VladimirTechMan
64de356a67
A few minor code improvements to Node implementation
...
Tiny cleanups related to attribute getting / setting code and
firing events.
2019-03-03 14:19:06 +03:00
Anton Lavrenov
0d9a27f185
fix drag&drop on mobile
2019-02-27 09:14:07 -05:00
Anton Lavrenov
8962164096
make Konva modular
2019-02-27 08:06:04 -05:00
Anton Lavrenov
5cbfe07e6e
refactor validators
2019-02-24 12:06:04 -05:00
Anton Lavrenov
98afa3fac6
refactoring
2019-02-23 20:54:20 -05:00
Anton Lavrenov
472bb1cf63
fix recache bug
2019-02-23 09:40:32 -05:00
Anton Lavrenov
605725fe43
cache fix
2019-02-22 22:13:37 -05:00
Anton Lavrenov
1b065a55a0
ixed automatic updates for Konva.Transformer
2019-02-19 08:36:16 -05:00
Anton Lavrenov
7b22a7ae50
Merge branch 'master' of github.com:konvajs/konva
2019-02-18 12:18:16 -05:00
Anton Lavrenov
40cf5a5909
fix some docs, partial cache fixes
2019-02-18 12:12:03 -05:00
VladimirTechMan
26d40ae1f9
Proposal: Using ECMAScript 6 Map for Node._cache instead of plain Object
2019-02-17 23:59:08 +03:00
Anton Lavrenov
1dea3696a2
configure what mouse buttons can be used for drag&drop
2019-02-14 10:33:58 -05:00
Anton Lavrenov
dcff79eb63
more warnings and methods
2019-02-13 23:41:32 -05:00
Anton Lavrenov
12fc838709
Merge branch 'master' of github.com:konvajs/konva
2019-02-11 08:47:24 -05:00
Anton Lavrenov
128b5b403e
fix array serialization. fix #576
2019-02-11 08:46:34 -05:00
VladimirTechMan
7cd4905ce5
Minor corrections to the existing code
...
Removing one redundant variable and one small typo in a comment.
2019-02-09 22:22:19 +03:00
Anton Lavrenov
0f4681e9be
remove some content events usage
2019-02-05 21:32:29 -05:00