Commit 57ed13d1 authored by Benjamin LEROUX's avatar Benjamin LEROUX

cleanup commit

parent b6fbe723
...@@ -99,12 +99,3 @@ class _Exo2State extends State<Exo2> { ...@@ -99,12 +99,3 @@ class _Exo2State extends State<Exo2> {
); );
} }
} }
/*
Transform(transform: Matrix4.rotationX(_currentSliderValueX *(pi/10))
..rotateZ(_currentSliderValueZ *(pi/10))
..scale(_currentSliderValueScale/100),
origin: Offset.zero,
child: Center(child: Image.network('https://picsum.photos/512/1024'))
),
*/
\ No newline at end of file
...@@ -131,9 +131,6 @@ class PositionedTilesState extends State<PositionedTiles> { ...@@ -131,9 +131,6 @@ class PositionedTilesState extends State<PositionedTiles> {
if(current==empty+1 && current%_currentSlideValue!=0){ if(current==empty+1 && current%_currentSlideValue!=0){
emptyIndex=current; emptyIndex=current;
tiles.insert(empty, tiles.removeAt(current)); tiles.insert(empty, tiles.removeAt(current));
// tiles[empty].isUsable=true;
// tiles[empty+2].isUsable=true;
// tiles[empty+_currentSlideValue.toInt()+1].isUsable=true;
}else if(current==empty-1 && empty%_currentSlideValue!=0){ }else if(current==empty-1 && empty%_currentSlideValue!=0){
emptyIndex=current; emptyIndex=current;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment