names dont mess up layout quite as much

This commit is contained in:
George Hotz 2014-09-09 14:50:37 +00:00
parent 51b096ea94
commit f25a214428
4 changed files with 10 additions and 2 deletions

5
README
View File

@ -63,6 +63,11 @@ esc -- back
shift-c -- clear all forks
n -- rename instruction
shift-n -- rename data
; -- add comment at instruction
shift-; -- add comment at data
== Installation on Windows (experimental) ==

View File

@ -132,7 +132,8 @@ $(document).ready(function() {
update_dview(get_address_from_class(e.target));
});
$('body').on('contextmenu', '.hexdumpdatainstruction', function(e) {
update_dview(get_address_from_class(e.target));
update_iaddr(get_address_from_class(e.target));
//update_dview(get_address_from_class(e.target));
return false;
});
$('body').on('click', '.hexdumpdatainstruction', function(e) {

View File

@ -69,7 +69,7 @@ function on_memory(msg) { DS("memory");
exclass += " addr addr_"+v;
var minwidth = 84;
if (PTRSIZE == 8) minwidth = 172;
html += '<td colspan="'+PTRSIZE+'" style="min-width:'+minwidth+'px" class="data hexdump'+a+' '+exclass+'" id="'+exclass+'">'+v+"</td>";
html += '<td colspan="'+PTRSIZE+'"><div style="overflow: hidden; width:'+minwidth+'px" class="data hexdump'+a+' '+exclass+'" id="'+exclass+'">'+v+"</div></td>";
} else {
for (var j = 0; j < PTRSIZE; j++) {
var ii = msg['dat'][i+j];

View File

@ -200,6 +200,8 @@
width: 200px;
/*width: 20%;*/
font-family: monospace;
overflow: hidden;
white-space: nowrap;
}
.rflag {