File tree Expand file tree Collapse file tree 2 files changed +6
-6
lines changed Expand file tree Collapse file tree 2 files changed +6
-6
lines changed Original file line number Diff line number Diff line change 1
1
2
- import text2d from './text2d .js' ;
2
+ import textCore from './textCore .js' ;
3
3
import p5font from './p5.Font.js' ;
4
4
5
5
export default function ( p5 ) {
6
- p5 . registerAddon ( text2d ) ;
6
+ p5 . registerAddon ( textCore ) ;
7
7
p5 . registerAddon ( p5font ) ;
8
8
}
9
9
Original file line number Diff line number Diff line change @@ -2,11 +2,11 @@ import { Renderer } from '../core/p5.Renderer';
2
2
3
3
/**
4
4
* @module Type
5
- * @submodule text2d
5
+ * @submodule textCore
6
6
* @for p5
7
7
* @requires core
8
8
*/
9
- function text2d ( p5 , fn ) {
9
+ function textCore ( p5 , fn ) {
10
10
11
11
// additional constants
12
12
fn . IDEOGRAPHIC = 'ideographic' ;
@@ -1255,8 +1255,8 @@ function text2d(p5, fn) {
1255
1255
}
1256
1256
}
1257
1257
1258
- export default text2d ;
1258
+ export default textCore ;
1259
1259
1260
1260
if ( typeof p5 !== 'undefined' ) {
1261
- text2d ( p5 , p5 . prototype ) ;
1261
+ textCore ( p5 , p5 . prototype ) ;
1262
1262
}
You can’t perform that action at this time.
0 commit comments