We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Is your feature request related to a problem? Please describe. Copying/pasting/defaulting a value is not quickly possible
Describe the solution you'd like In Blender you can just hover a value and press ctrl+c/ctrl+v/backspace
Proof of Concept
console.clear(); hoveredInput = null; // PCUI element lastCopy = 0.0; inputs = [...document.getElementsByTagName("input")]; inputs.forEach(input => { input.onmouseleave = function(event) { hoveredInput = null; } input.onmouseenter = function(event) { hoveredInput = event.target?.ui; } }); document.onkeydown = function (event) { if (hoveredInput) { if (event.key == 'Backspace') { hoveredInput.value = 0; // Math.random(); event.preventDefault(); } else if (event.ctrlKey && event.key == 'c') { lastCopy = hoveredInput.value; event.preventDefault(); //console.log("copy value", lastCopy); } else if (event.ctrlKey && event.key == 'v') { hoveredInput.value = lastCopy; //console.log("paste value", lastCopy); event.preventDefault(); } } //console.log(event); }
Code is just a PoC, it would require proper integration into at least the NumericInput class and/or wherever it makes sense.
NumericInput
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Is your feature request related to a problem? Please describe.
Copying/pasting/defaulting a value is not quickly possible
Describe the solution you'd like
In Blender you can just hover a value and press ctrl+c/ctrl+v/backspace
Proof of Concept
Code is just a PoC, it would require proper integration into at least the
NumericInput
class and/or wherever it makes sense.The text was updated successfully, but these errors were encountered: