Add calculation support to size input
See original GitHub issuemacOS version: 10.15.3 Kap version: 3.0.1
Steps to reproduce
- Record video
- In the size input fields I’ve tried to do math but it’s not working. Example:
width: 1000, height: 600
. If I want to make this500x300
, I have to manually type that but in other apps you can often type1000/2
and it’ll resize automatically.
Current behaviour
The size input can not take math commands, such as /
, *
, +
, -
.
Expected behaviour
I’d like to make simple calculations such as:
1000*0.5
= 500
1000/4
= 250
300+50
= 350
500-100
= 400
etc.
Workaround
Manually type in the value I want, which isn’t too bad but I think this will be a nice improvement
I just started using the app and it’s great so far! I just wanted to add that this small improvement would be appreciated 🙏. If you need any additional information, let me know!
Issue Analytics
- State:
- Created 4 years ago
- Comments:6 (3 by maintainers)
Top Results From Across the Web
Adjust width of input field to its input - Stack Overflow
To calculate the width of the current input, you'll have to embed it in a temporary span element, attach that thing to the...
Read more >Formula Tool | Alteryx Help
Use Formula to create new columns, update columns, and use 1 or more expressions to perform a variety of calculations and operations.
Read more >Use calculated columns in an Excel table - Microsoft Support
Calculated columns in Excel tables are a fantastic tool for entering formulas efficiently. They allow you to enter a single formula in one...
Read more >calc() - CSS: Cascading Style Sheets - MDN Web Docs
The calc() CSS function lets you perform calculations when specifying CSS property values. It can be used with , , , , ,...
Read more >Add formulas & functions - Computer - Google Docs Editors Help
Open a spreadsheet. Type an equal sign (=) in a cell and type in the function you want to use. Note: You may...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
@jkeussen that is a good idea. Coming soon: #789 😄
@jsejcksn
For those inputs it is also triggered on a timer (debounced). Also I’m not sure those support calculations. I think the calculations were only added to the Editor ones. If desired and of-value we can add them there as well