Mac Input fields are not viaible fixed
This commit is contained in:
parent
ac3ddf4b2b
commit
94eedff8af
Binary file not shown.
|
|
@ -24,8 +24,6 @@
|
||||||
"axios": "^1.13.2",
|
"axios": "^1.13.2",
|
||||||
"chalk": "^5.6.2",
|
"chalk": "^5.6.2",
|
||||||
"electron-store": "^11.0.2",
|
"electron-store": "^11.0.2",
|
||||||
"quill": "^2.0.3",
|
|
||||||
"react-quill-new": "^3.6.0",
|
|
||||||
"https": "^1.0.0",
|
"https": "^1.0.0",
|
||||||
"lucide-react": "^0.552.0",
|
"lucide-react": "^0.552.0",
|
||||||
"luxon": "^3.7.2",
|
"luxon": "^3.7.2",
|
||||||
|
|
|
||||||
|
|
@ -12,7 +12,7 @@ const httpsAgent = new https.Agent({
|
||||||
});
|
});
|
||||||
|
|
||||||
const api: AxiosInstance = axios.create({
|
const api: AxiosInstance = axios.create({
|
||||||
baseURL: 'http://localhost:3000/api/v1/va', // 🔁 your backend
|
baseURL: 'https://quality-friendly-goldfish.ngrok-free.app/api/v1/va', // 🔁 your backend
|
||||||
httpsAgent
|
httpsAgent
|
||||||
// timeout: 10000,
|
// timeout: 10000,
|
||||||
});
|
});
|
||||||
|
|
|
||||||
|
|
@ -87,7 +87,7 @@ app.on("ready", async () => {
|
||||||
minimizable: false,
|
minimizable: false,
|
||||||
maximizable: false,
|
maximizable: false,
|
||||||
closable: true,
|
closable: true,
|
||||||
alwaysOnTop: true,
|
// alwaysOnTop: true,
|
||||||
// skipTaskbar: true,
|
// skipTaskbar: true,
|
||||||
autoHideMenuBar: true,
|
autoHideMenuBar: true,
|
||||||
frame: true,
|
frame: true,
|
||||||
|
|
@ -101,9 +101,24 @@ app.on("ready", async () => {
|
||||||
},
|
},
|
||||||
});
|
});
|
||||||
|
|
||||||
win.setAlwaysOnTop(true, 'screen-saver');
|
|
||||||
|
|
||||||
|
// win.setAlwaysOnTop(true, 'screen-saver');
|
||||||
|
// win.setVisibleOnAllWorkspaces(true, { visibleOnFullScreen: true });
|
||||||
|
// win.setFullScreenable(false);
|
||||||
|
|
||||||
|
// Cross-platform safe always-on-top
|
||||||
|
const isMac = process.platform === "darwin";
|
||||||
|
|
||||||
|
if (isMac) {
|
||||||
|
win.setAlwaysOnTop(true, "floating"); // best for macOS
|
||||||
|
win.setVisibleOnAllWorkspaces(true); // NO fullscreen override
|
||||||
|
} else {
|
||||||
|
win.setAlwaysOnTop(true, "normal"); // safest for Windows + Zoom
|
||||||
win.setVisibleOnAllWorkspaces(true, { visibleOnFullScreen: true });
|
win.setVisibleOnAllWorkspaces(true, { visibleOnFullScreen: true });
|
||||||
win.setFullScreenable(false);
|
win.setFullScreenable(false);
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
mainWindow = win;
|
mainWindow = win;
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -68,7 +68,7 @@ export const handleLogin = async (credentials: { email: string, password: string
|
||||||
try {
|
try {
|
||||||
console.log("➡️ Calling API...");
|
console.log("➡️ Calling API...");
|
||||||
const response = await axios.post(
|
const response = await axios.post(
|
||||||
'http://localhost:3000/api/v1/va/login',
|
'https://quality-friendly-goldfish.ngrok-free.app/api/v1/va/login',
|
||||||
{ userDetails: { ...credentials } },
|
{ userDetails: { ...credentials } },
|
||||||
{ headers: { "ngrok-skip-browser-warning": 69420 }, httpsAgent }
|
{ headers: { "ngrok-skip-browser-warning": 69420 }, httpsAgent }
|
||||||
);
|
);
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue