Giter Site home page Giter Site logo

frostmoon's People

Contributors

ericfedrowisch avatar

Watchers

 avatar  avatar

frostmoon's Issues

Crash when New Component Folders are added

Describe the bug
Crash when a new non-empty folder is added to the components folder.
Expected behavior
Components should be added and loaded automatically for each subfolder of components.
To Reproduce
Steps to reproduce the behavior:

  1. Create a folder with a .lua file
  2. Put that folder in the frostmoon/components/ folder
  3. Run frostmoon

Screenshots
Before:
image
After:
image
Crash:
image

System Info:

  • OS:
  • Device: [e.g. iPhone6]

Additional context
Initial testing verifies that none of the components are loaded into the _G namespace.

Busted.runner() runs some code twice

Describe the bug
If code is put outside of busted's special test function blocks, it will be run twice.
Expected behavior
Run code once regardless of where it is in script.
To Reproduce
Steps to reproduce the behavior:

  1. Put a print statement outside of an expose or it block and use busted.runner()

Screenshots

System Info:

  • OS: Mac OS

Drag functionality

Describe the bug:
Drag functionality overrides button pushing behavior in Button class.

Expected behavior:
Buttons should be drag-able and still be able to get presses.

Steps To Reproduce:
Try to click a button with draggable variable set to true. It can be drug but not clicked on.

Multiple Levels of Class Inheritance

Is your feature request related to a problem? Please describe.
Currently class inheritance is nearly flat, all objects inherit from their class (which is fine), and all classes inherit from Component (also ok). However, there is no mechanism for a class to inherit from another class as well as Component ultimately.

Describe the solution you'd like
A class should be able to inherit from one or more classes before the top most super class inherits from Component.

Describe alternatives you've considered
-Keeping class hierarchy flat.

Additional context
Add any other context or screenshots about the feature request here.

Window Resize throws exception

Describe the bug
Trying to resize window throws exception and crashes program.

Expected behavior
Window used to and should resize while maintaining aspect ratio (if set).

To Reproduce
Steps to reproduce the behavior:

  1. Run program.
  2. Try to resize window.

Screenshots

image

System Info:

  • OS: OSX

Additional context

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.