un-mirror camera snapshots when accepting them

upd4.1
Jens Mönig 2017-09-25 10:01:25 +02:00
rodzic 5e1eeb1348
commit 556f264319
4 zmienionych plików z 10 dodań i 7 usunięć

Wyświetl plik

@ -148,7 +148,7 @@ CustomCommandBlockMorph, SymbolMorph*/
// Global stuff //////////////////////////////////////////////////////// // Global stuff ////////////////////////////////////////////////////////
modules.blocks = '2017-September-19'; modules.blocks = '2017-September-25';
var SyntaxElementMorph; var SyntaxElementMorph;
var BlockMorph; var BlockMorph;

10
gui.js
Wyświetl plik

@ -1578,7 +1578,8 @@ IDE_Morph.prototype.createCorralBar = function () {
'cameraDisabled', 'cameraDisabled',
function (event) { function (event) {
cambutton.disable(); cambutton.disable();
cambutton.hint = CamSnapshotDialogMorph.prototype.notSupportedMessage; cambutton.hint =
CamSnapshotDialogMorph.prototype.notSupportedMessage;
} }
); );
}; };
@ -7691,7 +7692,8 @@ WardrobeMorph.prototype.updateList = function () {
'cameraDisabled', 'cameraDisabled',
function () { function () {
cambutton.disable(); cambutton.disable();
cambutton.hint = CamSnapshotDialogMorph.prototype.notSupportedMessage; cambutton.hint =
CamSnapshotDialogMorph.prototype.notSupportedMessage;
} }
); );
@ -8396,7 +8398,6 @@ PaletteHandleMorph.prototype.mouseDoubleClick = function () {
// CamSnapshotDialogMorph inherits from DialogBoxMorph: // CamSnapshotDialogMorph inherits from DialogBoxMorph:
CamSnapshotDialogMorph.prototype.enableCamera = false; // has issues with retina
CamSnapshotDialogMorph.prototype = new DialogBoxMorph(); CamSnapshotDialogMorph.prototype = new DialogBoxMorph();
CamSnapshotDialogMorph.prototype.constructor = CamSnapshotDialogMorph; CamSnapshotDialogMorph.prototype.constructor = CamSnapshotDialogMorph;
CamSnapshotDialogMorph.uber = DialogBoxMorph.prototype; CamSnapshotDialogMorph.uber = DialogBoxMorph.prototype;
@ -8538,7 +8539,8 @@ CamSnapshotDialogMorph.prototype.ok = function () {
new Costume( new Costume(
this.videoView.fullImageClassic(), this.videoView.fullImageClassic(),
this.sprite.newCostumeName('camera') this.sprite.newCostumeName('camera')
)); ).flipped()
);
}; };
CamSnapshotDialogMorph.prototype.disable = function () { CamSnapshotDialogMorph.prototype.disable = function () {

Wyświetl plik

@ -3647,6 +3647,7 @@ Fixes:
170925 170925
------ ------
* GUI, Symbols: added “visible stepping” toggle button to the control bar * GUI, Symbols: added “visible stepping” toggle button to the control bar
* fixed camera retina issues, thanks, Bernat!!
v4.1 Features: v4.1 Features:
@ -3655,7 +3656,7 @@ v4.1 Features:
* inheritance of sprite attributes (x, y, direction, size, costumes, costume #, sounds, scripts) * inheritance of sprite attributes (x, y, direction, size, costumes, costume #, sounds, scripts)
* first-class costumes and sounds * first-class costumes and sounds
* visual indicator (map-pin icon) for sprite-local custom blocks (i.e. methods) * visual indicator (map-pin icon) for sprite-local custom blocks (i.e. methods)
* [experimental, hidden] camera snapshots for costumes and new sprites * camera snapshots for costumes and new sprites
* localization support when typing expressions * localization support when typing expressions
* support for user-forced line-breaks in custom block labels * support for user-forced line-breaks in custom block labels
* ternary Boolean slot setting: support to limit Boolean input slots to “true/false” outside of rings and in palette * ternary Boolean slot setting: support to limit Boolean input slots to “true/false” outside of rings and in palette

Wyświetl plik

@ -85,7 +85,7 @@ HTMLCanvasElement, fontHeight, SymbolMorph, localize, SpeechBubbleMorph,
ArrowMorph, MenuMorph, isString, isNil, SliderMorph, MorphicPreferences, ArrowMorph, MenuMorph, isString, isNil, SliderMorph, MorphicPreferences,
ScrollFrameMorph, MenuItemMorph, Note*/ ScrollFrameMorph, MenuItemMorph, Note*/
modules.widgets = '2017-September-08'; modules.widgets = '2017-September-25';
var PushButtonMorph; var PushButtonMorph;
var ToggleButtonMorph; var ToggleButtonMorph;