mirror of
https://github.com/sehugg/8bitworkshop.git
synced 2025-01-14 13:31:17 +00:00
verilog: hide controls when no crt
This commit is contained in:
parent
ae31f8308f
commit
bf5248685f
@ -1686,6 +1686,7 @@ function setupDebugControls() {
|
||||
uitoolbar.add('ctrl+alt+l', 'Run To Line', 'glyphicon-save', runToCursor).prop('id','dbg_toline');
|
||||
}
|
||||
uitoolbar.newGroup();
|
||||
uitoolbar.grp.prop('id','xtra_bar');
|
||||
// add menu clicks
|
||||
$(".dropdown-menu").collapse({toggle: false});
|
||||
$("#item_new_file").click(_createNewFile);
|
||||
@ -1898,7 +1899,7 @@ function showWelcomeMessage() {
|
||||
|
||||
///////////////////////////////////////////////////
|
||||
|
||||
var qs = (function (a : string[]) {
|
||||
export var qs = (function (a : string[]) {
|
||||
if (!a || a.length == 0)
|
||||
return {};
|
||||
var b = {};
|
||||
|
@ -657,8 +657,12 @@ var VerilogPlatform = function(mainElement, options) {
|
||||
const IGNORE_SIGNALS = ['clk','reset'];
|
||||
trace_signals = trace_signals.filter((v) => { return IGNORE_SIGNALS.indexOf(v.name)<0; }); // remove clk, reset
|
||||
$("#speed_bar").show();
|
||||
$("#run_bar").show();
|
||||
$("#xtra_bar").show();
|
||||
} else {
|
||||
$("#speed_bar").hide();
|
||||
$("#run_bar").hide();
|
||||
$("#xtra_bar").hide();
|
||||
}
|
||||
}
|
||||
}
|
||||
@ -834,3 +838,4 @@ var VerilogVGAPlatform = function(mainElement, options) {
|
||||
|
||||
PLATFORMS['verilog'] = VerilogPlatform;
|
||||
PLATFORMS['verilog-vga'] = VerilogVGAPlatform;
|
||||
PLATFORMS['verilog-test'] = VerilogPlatform;
|
||||
|
Loading…
x
Reference in New Issue
Block a user