Sign in to follow this  
NRA

General GUI troubles

Recommended Posts

Hi @Dad72

 I am developing directly in Playground and in last sunday my code is working normally, yesterday night it started to became strange and today it is totally strange! Some of buttons do not appear, all the text blocks too. And I do not see any error message in javascript console of the browser!

Were i can find the related changes to see if I find what I need to change in my code?

Thanks  

Share this post


Link to post
Share on other sites

Oh @Deltakosh thanks the attention and excuse the hurry! But I was worried because I am developing an system for a client,  which has similarity with this one https://webshed.royssheds.com.au/#, and since monday its has a strange behavior related to GUI elements, which are so many in my code. But if you said than is maintenance, I believe that soon it will be normalized again.

 

 

 

Share this post


Link to post
Share on other sites

@Deltakosh

Excuse again my ignorance, but how can I call the stable version 3.3.0 in the .html file <header> on my server, to not had this happening again.

Now this are the scripts been called.

 

        <script src="https://code.jquery.com/pep/0.4.2/pep.min.js"></script>
        <script src="https://cdnjs.cloudflare.com/ajax/libs/dat-gui/0.6.2/dat.gui.min.js"></script>
        <script src="https://preview.babylonjs.com/cannon.js"></script>
        <script src="https://preview.babylonjs.com/Oimo.js"></script>
        <script src="https://preview.babylonjs.com/earcut.min.js"></script>
        <script src="https://preview.babylonjs.com/babylon.js"></script>
        <script src="https://preview.babylonjs.com/inspector/babylon.inspector.bundle.js"></script>
        <script src="https://preview.babylonjs.com/materialsLibrary/babylonjs.materials.min.js"></script>
        <script src="https://preview.babylonjs.com/proceduralTexturesLibrary/babylonjs.proceduralTextures.min.js"></script>
        <script src="https://preview.babylonjs.com/postProcessesLibrary/babylonjs.postProcess.min.js"></script>
        <script src="https://preview.babylonjs.com/loaders/babylonjs.loaders.js"></script>
        <script src="https://preview.babylonjs.com/serializers/babylonjs.serializers.min.js"></script>
        <script src="https://preview.babylonjs.com/gui/babylon.gui.min.js"></script>

 

Share this post


Link to post
Share on other sites
21 minutes ago, Deltakosh said:

Just replace preview.babylonjs.com by cdn.babylonjs.com :)

But I'm still interested by the failing examples (without them, I cannot fix)

Ok, I will do it, but I will spend some time to do it, because I need to pick parts of my code which is long.

Thanks

Share this post


Link to post
Share on other sites

For more accuracy for correctors: The black thickness should be seen before we click in the inputText ?

There, there is no border and when you click on the inputText, the border becomes black. Should not it be the opposite?

Share this post


Link to post
Share on other sites

The ideal would be to have a border color when we not have the focus and another border color when we have the focus.

input.color = "black"; // No focus
input.focusedColor = "grey"; // Focused;
I saw in the code of PG: thicknessColor, but I think that does not exist. I did not see this property in the documentation. Maybe it was not added and it exists in the source code ?

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
Sign in to follow this  

  • Recently Browsing   0 members

    No registered users viewing this page.