Increased context menu z-index and fixed a ts generator bug
parent
f7aec1ebfa
commit
01036291bc
|
@ -1,6 +1,7 @@
|
|||
# Changelog:
|
||||
* **01.08.20**
|
||||
- Cleaning up the channel trees selection on reset
|
||||
- Updated the translations to the newest standard
|
||||
|
||||
* **25.07.20**
|
||||
- Fixed bug where icons could not be loaded due to cros policy
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
.context-menu {
|
||||
overflow: visible;
|
||||
display: none;
|
||||
z-index: 2000;
|
||||
z-index: 120000;
|
||||
position: absolute;
|
||||
|
||||
.context-menu-container {
|
||||
|
|
|
@ -296,11 +296,13 @@ export function replace_processor(config: Configuration, cache: VolatileTransfor
|
|||
if(config.verbose)
|
||||
console.log("Process %s", SyntaxKind[node.kind]);
|
||||
|
||||
if(!node.getSourceFile())
|
||||
return node;
|
||||
|
||||
if(ts.isCallExpression(node)) {
|
||||
const call = <ts.CallExpression>node;
|
||||
const call_name = call.expression["escapedText"] as string;
|
||||
if(call_name != "tr") return node;
|
||||
if(!node.getSourceFile()) return node;
|
||||
if(config.verbose) {
|
||||
console.dir(call_name);
|
||||
console.log("Parameters: %o", call.arguments.length);
|
||||
|
|
Loading…
Reference in New Issue