Increased context menu z-index and fixed a ts generator bug

canary
WolverinDEV 2020-08-01 15:27:45 +02:00
parent f7aec1ebfa
commit 01036291bc
3 changed files with 5 additions and 2 deletions

View File

@ -1,6 +1,7 @@
# Changelog: # Changelog:
* **01.08.20** * **01.08.20**
- Cleaning up the channel trees selection on reset - Cleaning up the channel trees selection on reset
- Updated the translations to the newest standard
* **25.07.20** * **25.07.20**
- Fixed bug where icons could not be loaded due to cros policy - Fixed bug where icons could not be loaded due to cros policy

View File

@ -1,7 +1,7 @@
.context-menu { .context-menu {
overflow: visible; overflow: visible;
display: none; display: none;
z-index: 2000; z-index: 120000;
position: absolute; position: absolute;
.context-menu-container { .context-menu-container {

View File

@ -296,11 +296,13 @@ export function replace_processor(config: Configuration, cache: VolatileTransfor
if(config.verbose) if(config.verbose)
console.log("Process %s", SyntaxKind[node.kind]); console.log("Process %s", SyntaxKind[node.kind]);
if(!node.getSourceFile())
return node;
if(ts.isCallExpression(node)) { if(ts.isCallExpression(node)) {
const call = <ts.CallExpression>node; const call = <ts.CallExpression>node;
const call_name = call.expression["escapedText"] as string; const call_name = call.expression["escapedText"] as string;
if(call_name != "tr") return node; if(call_name != "tr") return node;
if(!node.getSourceFile()) return node;
if(config.verbose) { if(config.verbose) {
console.dir(call_name); console.dir(call_name);
console.log("Parameters: %o", call.arguments.length); console.log("Parameters: %o", call.arguments.length);