hugoattal / milky-warp Goto Github PK
View Code? Open in Web Editor NEWSimple magnifier for presentations (so that people can read the tiny texts)
License: MIT License
Simple magnifier for presentations (so that people can read the tiny texts)
License: MIT License
Hi there, thanks for the project! I wanted to give this a shot on Linux (Pop_OS! 22.04, Gnome 42) and running tauri build
resulted in a compilation error on a missing crate:
For added context, my machine is already fully set up for Tauri development using Tauri's latest instructions and I have been tinkering on Tauri app development locally with no issue for a number of different projects outside of this one.
Do you have any suggestions for how to resolve this build error? Cheers!
The content when zooming-in is a bit unstable and hard to read because of mouse sensibility and cursor movement. The idea is slowing down the cursor movement/velocity or reducing temporarily the mouse sensibility when zooming in
I tried to compile the project on an arm64 architecture linux platform, after eliminating some compilation errors, the compilation was successful, but the generated binary file could not be executed, the runtime error is as follows
$ ./milky-warp
thread 'main' panicked at src/main.rs:33:42:
called `Result::unwrap()` on an `Err` value: Os { code: 13, kind: PermissionDenied, message: "Permission denied" }
stack backtrace:
note: Some details are omitted, run with `RUST_BACKTRACE=full` for a verbose backtrace.
Segmentation fault
I don't know why I got the "Permission denied" error, but when I ran it with sudo, the first error disappeared. The only error is that "Segmentation fault"
In addition, there is an additional error message during compilation, but it does not affect the file generation, I do not know whether it is relevant
warning: unused variable: `cursor_pos`
--> src/lib.rs:49:41
|
49 | pub fn get_screen_index_from_cursor_pos(cursor_pos: (i32, i32)) -> u32 {
| ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_cursor_pos`
|
= note: `#[warn(unused_variables)]` on by default
warning: `milky-warp` (lib) generated 1 warning (run `cargo fix --lib -p milky-warp` to apply 1 suggestion)
Compiling milky-warp v1.0.0 (/home/kero990/milky-warp/src-tauri)
Finished release [optimized] target(s) in 1m 16s
The current build platform is debian10, and this device cannot be upgraded to a newer version. I don't know if this is relevant or if the project compiles to arm64.
It's perfect to use on my main display, but when I try to use it on the other display, it seems to be out of my screen. I can still see it in the taskbar preview,and the functionality is normal within the preview. It seems like the window position is not correct on secondary display.
下载的最新版
Would it be possible to add push-to-zoom mode in addition to the existing push-to-toggle?
So, instead of enabling and disabling the zoom on distinct keypresses, this would be press-to-enable, release-to-disable.
This would allow much more fluent usage patterns.
Thanks!
This little tool works great and is also very handy. However, the magnification of the magnifying glass is not large enough for me, hope that the subsequent version will increase the magnification. In addition, the shortcut key is a very important function, it should be able to be easily modified. I modified the default shortcut keys by cloning the source code and compiling, but in the process, many environments were configured on the computer, which is very inconvenient. I hope this function can be improved in the future.Thanks!
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.