i am implementing an application with sencha touch. cmd 6, touch 2.4, architect 3.0.0.1
i am using drawer component and i want to draw a rectangle sprite. firefox can show my rectangle but chrome do not and also when i transfer my app to apk... this is my code:
Ext.define('MyApp.view.MyComponent', {
extend: 'Ext.draw.Component',
config: {
border: 9,
bottom: '',
centered: false,
cls: 'sa',
draggable: true,
fullscreen: true,
id: 'd21',
itemId: 's21',
zIndex: 4,
modal: false,
sprites: [
{
zIndex: 30,
type: 'rect',
width: 100,
height: 30,
fill: 'red',
stroke: 'black',
fx: {
duration: 0.00001,
to: {
fill: '#00ff00'// Green
}
},
translate: {
x: 130,
y: 115
}
},
{
type: 'text',
fontSize: 18,
fill: '#000',
text: 0,
textAlign: 'center',
x: 90,
y: 140
}
]
}
});
what is the problem?