From 91cfa95ef7067c3987dde4b341bebe3b694eac21 Mon Sep 17 00:00:00 2001 From: DanyLE Date: Mon, 21 Mar 2022 19:13:11 +0100 Subject: [PATCH] minor changes --- Diya/Diya2DNode.class.st | 4 ++-- Diya/DiyaApplicationModel.class.st | 1 - Diya/DiyaBaseApplication.class.st | 1 + 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/Diya/Diya2DNode.class.st b/Diya/Diya2DNode.class.st index edcee0f..2049b00 100644 --- a/Diya/Diya2DNode.class.st +++ b/Diya/Diya2DNode.class.st @@ -49,8 +49,8 @@ Diya2DNode >> height [ Diya2DNode >> initialize [ super initialize. translation := 0@0. - scale := 1.0@1.0. - rotation := 0.0. + scale := 1@1. + rotation := 0. tf := Array2D identity: 3. shader := Diya2DShader uniqueInstance. color := Color white. diff --git a/Diya/DiyaApplicationModel.class.st b/Diya/DiyaApplicationModel.class.st index 83c2b93..20cb6b1 100644 --- a/Diya/DiyaApplicationModel.class.st +++ b/Diya/DiyaApplicationModel.class.st @@ -26,7 +26,6 @@ DiyaApplicationModel >> context [ { #category : #initialization } DiyaApplicationModel >> initialize [ super initialize. - am := AssetManager new. ] { #category : #accessing } diff --git a/Diya/DiyaBaseApplication.class.st b/Diya/DiyaBaseApplication.class.st index 3ce317f..68d9a88 100644 --- a/Diya/DiyaBaseApplication.class.st +++ b/Diya/DiyaBaseApplication.class.st @@ -8,4 +8,5 @@ Class { DiyaBaseApplication >> initialize [ super initialize. root := Diya2DNode new. + am := AssetManager new. ]