Skip to content

Commit

Permalink
Merge branch 'master' of https://github.com/RaylockLLC/DearPyGui
Browse files Browse the repository at this point in the history
  • Loading branch information
hoffstadt committed Aug 15, 2020
2 parents fd57fd7 + 4c78d68 commit 63490c6
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion DearPyGui/include/mvMarvel.h
Original file line number Diff line number Diff line change
Expand Up @@ -1592,7 +1592,7 @@ namespace Marvel {
}, "Returns time since last frame.", "float") });

parsers->insert({ "get_main_window_size", mvPythonParser({
}, "Returns the size of the main window.", "[float, float]") });
}, "Returns the size of the main window.", "[int, int]") });

parsers->insert({ "get_thread_count", mvPythonParser({
}, "Returns the allowable thread count.", "int") });
Expand Down
2 changes: 1 addition & 1 deletion DearPyGui/src/Core/mvMarvel.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -4332,7 +4332,7 @@ namespace Marvel {

PyObject* get_main_window_size(PyObject* self, PyObject* args, PyObject* kwargs)
{
return mvPythonTranslator::ToPyPair(mvApp::GetApp()->getActualWidth(), mvApp::GetApp()->getActualHeight());
return mvPythonTranslator::ToPyPairII(mvApp::GetApp()->getActualWidth(), mvApp::GetApp()->getActualHeight());
}

PyObject* get_theme(PyObject* self, PyObject* args, PyObject* kwargs)
Expand Down
2 changes: 1 addition & 1 deletion DearPyGui/stubs/dearpygui.pyi
Original file line number Diff line number Diff line change
Expand Up @@ -468,7 +468,7 @@ def get_log_level() -> int:
"""Returns the log level."""
...

def get_main_window_size() -> [float, float]:
def get_main_window_size() -> [int, int]:
"""Returns the size of the main window."""
...

Expand Down

0 comments on commit 63490c6

Please sign in to comment.