mirror of
https://github.com/panda3d/panda3d.git
synced 2025-10-04 10:54:24 -04:00
typo: has_fixed_size -> get_fixed_size
This commit is contained in:
parent
00c70c2615
commit
b615117dff
@ -827,7 +827,7 @@ set_wm_properties(const WindowProperties &properties, bool already_mapped) {
|
|||||||
size_hints_p->height = properties.get_y_size();
|
size_hints_p->height = properties.get_y_size();
|
||||||
size_hints_p->flags |= USSize;
|
size_hints_p->flags |= USSize;
|
||||||
|
|
||||||
if (properties.has_fixed_size()) {
|
if (properties.get_fixed_size()) {
|
||||||
size_hints_p->min_width = properties.get_x_size();
|
size_hints_p->min_width = properties.get_x_size();
|
||||||
size_hints_p->min_height = properties.get_y_size();
|
size_hints_p->min_height = properties.get_y_size();
|
||||||
size_hints_p->max_width = properties.get_x_size();
|
size_hints_p->max_width = properties.get_x_size();
|
||||||
|
@ -948,7 +948,7 @@ set_wm_properties(const WindowProperties &properties, bool already_mapped) {
|
|||||||
size_hints_p->height = properties.get_y_size();
|
size_hints_p->height = properties.get_y_size();
|
||||||
size_hints_p->flags |= USSize;
|
size_hints_p->flags |= USSize;
|
||||||
|
|
||||||
if (properties.has_fixed_size()) {
|
if (properties.get_fixed_size()) {
|
||||||
size_hints_p->min_width = properties.get_x_size();
|
size_hints_p->min_width = properties.get_x_size();
|
||||||
size_hints_p->min_height = properties.get_y_size();
|
size_hints_p->min_height = properties.get_y_size();
|
||||||
size_hints_p->max_width = properties.get_x_size();
|
size_hints_p->max_width = properties.get_x_size();
|
||||||
|
Loading…
x
Reference in New Issue
Block a user