Skip to content

Add support for dualScreen and add timer sync with config of presentation#11

Merged
ByMSRT merged 3 commits intodevelopfrom
dualScreen
Apr 10, 2023
Merged

Add support for dualScreen and add timer sync with config of presentation#11
ByMSRT merged 3 commits intodevelopfrom
dualScreen

Conversation

@ByMSRT
Copy link
Collaborator

@ByMSRT ByMSRT commented Apr 10, 2023

No description provided.

@ByMSRT ByMSRT requested a review from matheoleger April 10, 2023 20:10
index.ts Outdated
contextIsolation: true,
},
});
dual.loadURL("http://localhost:3000");
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Add like the main window :

    if (app.isPackaged) {
        win.loadFile("./build/index.html");
    } else {
        win.loadURL("http://localhost:3000");
    }

index.ts Outdated
win.setFullScreen(false)
})
win.setFullScreen(false);
dual?.close();
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

There is an error when there is only one screen,
maybe a problem with this line ? Try to add a condition to know if dual is already null/close ?

import { NavigationButton } from './NavigationButton';
import { NavigationButton } from "./NavigationButton";
import { SlideShow } from "../renderer/components/SlideShow";
//TODO: Search for a way to import the css file from the presentation folder and display images with the folder temp
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Remove this comment ;)

@ByMSRT ByMSRT requested a review from matheoleger April 10, 2023 20:44
@ByMSRT ByMSRT merged commit 4a3a721 into develop Apr 10, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants