Skip to content

Commit

Permalink
Students are lazy :-)
Browse files Browse the repository at this point in the history
  • Loading branch information
linouxis9 committed Jan 23, 2020
1 parent e841525 commit 5aae825
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/projetarm_v2/simulator/ui/javafx/ramview/RamView.java
Original file line number Diff line number Diff line change
Expand Up @@ -295,7 +295,8 @@ private void loadButonsEvents() {
return;
}
this.firstDisplayedAddress = newAddress;
alignMemory();
this.firstDisplayedAddress -= this.firstDisplayedAddress % 16; // IUT: Students are lazy :-)
alignMemory();
memoryScrollBar.setValue(this.firstDisplayedAddress);
this.UneSuperImplemFournieParValentinLeBg.setOffset(firstDisplayedAddress);
this.refresh();
Expand Down

0 comments on commit 5aae825

Please sign in to comment.