make status smaller, source bigger

and value bold
This commit is contained in:
Torsten Ruger 2018-04-04 17:14:33 +03:00
parent 7a9e10fb5f
commit 4c342d064d
2 changed files with 6 additions and 4 deletions

View File

@ -17,11 +17,11 @@ $susy: ( columns: 5 , gutter-position: split )
.instruction_view
@include span(23%)
@include span(33%)
.status_view
@include span(23%)
@include span(13%)
line-height : 1.25em

View File

@ -21,7 +21,7 @@ class RegistersView < ListView
@element
end
def register_changed reg , old , value
def register_changed( reg , old , value )
reg = reg.symbol unless reg.is_a? Symbol
index = reg.to_s[1 .. -1 ].to_i
has = Risc.machine.objects[value.object_id]
@ -47,6 +47,8 @@ class ValueView < ElementView
end
def draw
@element = div("ul.nav!") << div("li") << div("span", @value)
li = div("li")
li << div("span", @value)
@element = div("ul.nav!") << li
end
end