mirror of
https://github.com/4ian/GDevelop.git
synced 2025-10-15 10:19:04 +00:00
@@ -578,12 +578,6 @@ module.exports = {
|
||||
const TEXT_MASK_PADDING = 2;
|
||||
|
||||
class RenderedTextInputObjectInstance extends RenderedInstance {
|
||||
_pixiText;
|
||||
_pixiTextMask;
|
||||
_pixiGraphics;
|
||||
_fontResourceName = '';
|
||||
_finalTextColor = 0x0;
|
||||
|
||||
constructor(
|
||||
project,
|
||||
layout,
|
||||
@@ -601,6 +595,8 @@ module.exports = {
|
||||
pixiResourcesLoader
|
||||
);
|
||||
|
||||
this._fontResourceName = '';
|
||||
this._finalTextColor = 0x0;
|
||||
this._pixiGraphics = new PIXI.Graphics();
|
||||
this._pixiTextMask = new PIXI.Graphics();
|
||||
this._pixiText = new PIXI.Text(' ', {
|
||||
|
@@ -147,6 +147,12 @@ const jsExtensions = [
|
||||
extensionModule: require('GDJS-for-web-app-only/Runtime/Extensions/Screenshot/JsExtension.js'),
|
||||
objectsRenderingServiceModules: {},
|
||||
},
|
||||
{
|
||||
name: 'TextInput',
|
||||
// $FlowExpectedError - this path is ignored for Flow.
|
||||
extensionModule: require('GDJS-for-web-app-only/Runtime/Extensions/TextInput/JsExtension.js'),
|
||||
objectsRenderingServiceModules: {},
|
||||
},
|
||||
];
|
||||
|
||||
type MakeExtensionsLoaderArguments = {|
|
||||
|
Reference in New Issue
Block a user