make status smaller, source bigger
and value bold
This commit is contained in:
parent
7a9e10fb5f
commit
4c342d064d
@ -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
|
||||
|
||||
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user