mirror of
https://github.com/konvajs/konva.git
synced 2026-03-03 16:58:33 +08:00
changed calibri font to arial default
This commit is contained in:
@@ -1,7 +1,6 @@
|
|||||||
(function() {
|
(function() {
|
||||||
// constants
|
// constants
|
||||||
var AUTO = 'auto',
|
var AUTO = 'auto',
|
||||||
CALIBRI = 'Calibri',
|
|
||||||
CANVAS = 'canvas',
|
CANVAS = 'canvas',
|
||||||
CENTER = 'center',
|
CENTER = 'center',
|
||||||
CHANGE_KINETIC = 'Change.kinetic',
|
CHANGE_KINETIC = 'Change.kinetic',
|
||||||
@@ -319,7 +318,7 @@
|
|||||||
Kinetic.Util.extend(Kinetic.Text, Kinetic.Shape);
|
Kinetic.Util.extend(Kinetic.Text, Kinetic.Shape);
|
||||||
|
|
||||||
// add getters setters
|
// add getters setters
|
||||||
Kinetic.Factory.addGetterSetter(Kinetic.Text, 'fontFamily', CALIBRI);
|
Kinetic.Factory.addGetterSetter(Kinetic.Text, 'fontFamily', 'Arial');
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* set font family
|
* set font family
|
||||||
|
|||||||
Reference in New Issue
Block a user