kopia lustrzana https://github.com/backface/turtlestitch
migrated sound recorder dialog
rodzic
c80e68ea6e
commit
b9ca2ad9ba
|
@ -9937,24 +9937,18 @@ SoundRecorderDialogMorph.prototype.buildContents = function () {
|
||||||
'record',
|
'record',
|
||||||
new SymbolMorph('circleSolid', 10)
|
new SymbolMorph('circleSolid', 10)
|
||||||
);
|
);
|
||||||
this.recordButton.drawNew();
|
|
||||||
this.recordButton.fixLayout();
|
|
||||||
|
|
||||||
this.stopButton = new PushButtonMorph(
|
this.stopButton = new PushButtonMorph(
|
||||||
this,
|
this,
|
||||||
'stop',
|
'stop',
|
||||||
new SymbolMorph('rectangleSolid', 10)
|
new SymbolMorph('rectangleSolid', 10)
|
||||||
);
|
);
|
||||||
this.stopButton.drawNew();
|
|
||||||
this.stopButton.fixLayout();
|
|
||||||
|
|
||||||
this.playButton = new PushButtonMorph(
|
this.playButton = new PushButtonMorph(
|
||||||
this,
|
this,
|
||||||
'play',
|
'play',
|
||||||
new SymbolMorph('pointRight', 10)
|
new SymbolMorph('pointRight', 10)
|
||||||
);
|
);
|
||||||
this.playButton.drawNew();
|
|
||||||
this.playButton.fixLayout();
|
|
||||||
|
|
||||||
this.buildProgressBar();
|
this.buildProgressBar();
|
||||||
|
|
||||||
|
@ -9999,7 +9993,7 @@ SoundRecorderDialogMorph.prototype.buildContents = function () {
|
||||||
this.addButton('cancel', 'Cancel');
|
this.addButton('cancel', 'Cancel');
|
||||||
|
|
||||||
this.fixLayout();
|
this.fixLayout();
|
||||||
this.drawNew();
|
this.rerender();
|
||||||
};
|
};
|
||||||
|
|
||||||
SoundRecorderDialogMorph.prototype.buildProgressBar = function () {
|
SoundRecorderDialogMorph.prototype.buildProgressBar = function () {
|
||||||
|
|
Ładowanie…
Reference in New Issue