Stefan Dietz
c0f5dc3eb0
Change borderScaleFactor behaviour ( #2930 ) ( #3154 )
2016-08-12 00:14:12 +02:00
Andrea Bogazzi
a2b4ef564b
Add enableRetinaScaling to cloneAsImage ( #3147 )
...
* Add enableRetinaScaling to cloneAsImage
* added test
2016-08-08 07:17:39 +02:00
Andrea Bogazzi
c36225015a
initialized body variable
2016-08-07 22:37:26 +02:00
Andrea Bogazzi
48a6c9c67f
fix insert at ( #3146 )
2016-08-07 22:30:05 +02:00
Juan Basso
201a8c7f65
Added missing object:added on docs ( #3145 )
...
`object:added` is also fired by canvas.
2016-08-07 22:01:09 +02:00
Andrea Bogazzi
ad7e56422a
Get pointer change ( #3144 )
...
* fix normalized pointer
* more tests
2016-08-07 17:00:58 +02:00
Simon Kunz
03d27681c3
Add Color Matrix filter class ( #3139 )
2016-08-03 07:26:30 -04:00
Scott Seaward
ebb2552357
IE replace text selection with keypress ( #3137 )
...
Why:
* After creating a textbox, selecting text, and pressing a key, the first character of the previous text would remain.
* This happened because the hidden textarea would not update its selection in IE when it was in the same parent element as the canvas.
This change addresses the need by:
* Keeping the hidden textarea in the body element.
* IE now correctly updates the text selection as the user interacts with the canvas textbox.
2016-08-01 16:46:40 -04:00
Andrea Bogazzi
9e4ed9565f
fix cursor left without shift ( #3135 )
...
* fix cursor left and added missing test
2016-07-31 23:32:10 -04:00
Andrea Bogazzi
d93f91febc
Start to cleant setSelections ( #3119 )
2016-07-31 12:21:52 -04:00
Andrea Bogazzi
948019f622
add object scaling function ( #3134 )
...
* add object scaling function
* Update object.class.js
2016-07-30 12:04:38 -04:00
Andrea Bogazzi
9e5f3ab7b9
numeric origin ( #3121 )
...
* Numeric object origin add tets
2016-07-25 10:07:50 -04:00
Andrea Bogazzi
9980c83fb9
move the pathCommands out of render
...
makes easier to override, extend the class.
2016-07-22 11:10:30 +02:00
Andrea Bogazzi
f9782cf788
Update canvas_events.mixin.js
2016-07-22 11:07:29 +02:00
zntus
d4f0b52f18
Fix Rect imported from svg is invisible when display = "none" ( #3106 )
2016-07-18 10:05:14 +02:00
Andrea Bogazzi
7dad30c156
support style merging from css ( #3114 )
...
* supportstylemerging
* added test
2016-07-18 08:56:40 +02:00
Andrea Bogazzi
57439eaded
build dist
2016-07-17 12:02:12 +02:00
Andrea Bogazzi
dde9eaa4e3
fix pattern brush ( #3112 )
2016-07-17 11:55:36 +02:00
Andrea Bogazzi
6601af9340
gradientInfinity ( #3082 )
...
* gradientInfinity
* updated tests
2016-07-17 10:31:51 +02:00
Andrea Bogazzi
72a6c273bf
remove lastRendered logic ( #3111 )
2016-07-17 08:35:18 +02:00
Andrea Bogazzi
51995a73d8
fix perPixelTargetFind ( #3109 )
2016-07-16 17:25:34 +02:00
Andrea Bogazzi
6e1d2e2fd2
fix for lineheight and text selection ( #3094 )
2016-07-10 23:04:46 +02:00
Andrea Bogazzi
98f2d1b3dd
ignore svg namespace ( #3081 )
...
* ignore svg namespace
2016-07-03 23:52:25 +02:00
Andrea Bogazzi
725d48771f
Bump to 1.6.3 ( #3080 )
2016-07-03 13:52:08 +02:00
blucobalto
cf95dd45c9
FindTarget patch 1 ( #3077 )
...
define pointer before running findTarget
2016-07-03 09:15:09 +02:00
Andrea Bogazzi
4433809cb1
fix lineheight < 1 ( #3078 )
2016-07-02 19:23:36 +02:00
Kyle Herock
62da4fd6cd
Apply viewport transform when calculating isTargetTransparent ( #2980 )
2016-07-02 10:45:11 +02:00
Andrea Bogazzi
2cd06c915d
fix selection background on zoomed canvas ( #3076 )
2016-07-02 09:07:53 +02:00
Andrea Bogazzi
f1ff91dbc3
Fix targets undefined
2016-07-01 09:50:42 +02:00
Andrea Bogazzi
5166ab76c8
update clear method to clear lastRenderedWithControls ( #3058 )
2016-06-20 07:32:12 +02:00
Andrea Bogazzi
be8dfae17e
Various fixes ( #3057 )
...
Fixes hidden textarea positioning, rendering fixes during canvas zoom.
2016-06-19 23:33:54 +02:00
Amila Welihinda
40db6b3f21
Added travis ci for node 6 ( #3048 )
2016-06-16 12:56:22 +02:00
Andrea Bogazzi
9bfe826de7
add another build option
2016-06-14 14:24:17 +02:00
Andrea Bogazzi
77dab21155
Additional method for centering objects ( #3044 )
2016-06-11 14:10:20 +02:00
Andrea Bogazzi
9ef51ff77d
load from options after the load backroung in the callback ( #3029 )
...
moved the load of the custom properties load after the callback
Added tests
2016-06-05 17:08:19 +02:00
Scott Seaward
da42b293d3
Remove reference to lastRenderedWithControls when that object is deleted ( #3023 )
2016-06-02 11:06:36 +02:00
Andrea Bogazzi
b52ca6ff55
add some failing tests on canvas ( #3025 )
2016-06-02 10:58:02 +02:00
Andrea Bogazzi
0c6a665bcb
Target in group ( #2997 )
...
Added gorup.subTargetCheck, fixed transparent target selected on mouse up, fix text grouping while editing
2016-05-31 11:41:02 +02:00
Andrea Bogazzi
5a6b11ef50
introduce a parameter to choose behaviour of background and overlay ( #3019 )
...
* introduce a parameter to choose behaviour of background and overlay
2016-05-30 23:33:02 +02:00
Andrea Bogazzi
d4e723e49d
update area clearing during rendering ( #3016 )
...
* update area clearing during rendering
* register event in correct way
* re render selection or cursor only if selectionStart changes
2016-05-30 23:22:55 +02:00
Andrea Bogazzi
64bf67b0ab
remove Textbox instances ( #3008 )
2016-05-25 15:00:38 +02:00
Andrea Bogazzi
dd3e6a81e2
do not set background or overlay image if the load fails. ( #3003 )
2016-05-23 14:53:09 +02:00
Andrea Bogazzi
1843581488
Move charWidthCache from iText to fabric, allow single cache for font. ( #2995 )
...
divided cache in a single font cache objects, added method for clearing one font cache.
2016-05-23 08:16:59 +02:00
Andrea Bogazzi
dd0b9f63d3
fix multi line selection regression introduced with #2996
2016-05-21 16:07:00 +02:00
Andrea Bogazzi
dfb5e4e903
Clear only the itext area top context when animating cursor or selection ( #2996 )
2016-05-21 15:29:26 +02:00
Andrea Bogazzi
cfe0e27d19
Update itext_behavior.mixin.js
2016-05-21 15:15:44 +02:00
Andrea Bogazzi
eb9b7f45b9
Add ID to svg export ( #2993 )
2016-05-21 15:07:04 +02:00
Andrea Bogazzi
489230bdf5
add callback with null argument to failed xml load ( #2994 )
2016-05-21 14:34:17 +02:00
Andrea Bogazzi
f425966162
give text its own dimension function ( #2992 )
...
* give text its own dimension function
* updated tests after verifying that the svg import from element is better than previous
2016-05-21 13:05:59 +02:00
Andrea Bogazzi
e8a530019f
remove deadcode ( #2984 )
2016-05-19 21:39:06 +02:00